mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update The Hindu
This commit is contained in:
parent
66fb0279e0
commit
eb970aa3a6
@ -39,8 +39,7 @@ class TheHindu(BasicNewsRecipe):
|
||||
div = soup.find('section', attrs={'id': 'section_'})
|
||||
if div is None:
|
||||
return ans
|
||||
ul = div.find('ul', attrs={'class': 'archive-list'})
|
||||
if ul is not None:
|
||||
for ul in div.findAll('ul', attrs={'class': 'archive-list'}):
|
||||
for x in ul.findAll(['a']):
|
||||
title = self.tag_to_string(x)
|
||||
url = x.get('href', False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user