This commit is contained in:
Kovid Goyal 2022-06-01 12:17:00 +05:30
parent 9bdc8b33e1
commit b80ba397d5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -39,7 +39,8 @@ class Seminar(BasicNewsRecipe):
url = a['href']
if url.endswith('.htm'):
url = 'https://www.india-seminar.com/' + d.strftime('%Y') + '/' + url
title = self.tag_to_string(a)
self.log(title, ' at ', url)
ans.append({'title': title, 'url': url})
title = self.tag_to_string(a).strip()
if title:
self.log(title, ' at ', url)
ans.append({'title': title, 'url': url})
return [('Articles', ans)]