mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update india_today.recipe
This commit is contained in:
parent
2bc1b4018c
commit
5015765789
@ -62,13 +62,6 @@ class IndiaToday(BasicNewsRecipe):
|
||||
section = None
|
||||
sections = {}
|
||||
|
||||
date = soup.find(attrs={'class':lambda x: x and x.startswith('MagazineEdition_edition__date')})
|
||||
edition = soup.find(attrs={'class':'prime__magazine'})
|
||||
self.timefmt = '(' + self.tag_to_string(edition).strip() +') [' + self.tag_to_string(date).strip() + ']'
|
||||
if p := edition.findNext('p'):
|
||||
self.description = self.tag_to_string(p)
|
||||
self.log('Downloading Issue: ', self.timefmt)
|
||||
|
||||
for tag in soup.findAll('div', attrs={'class': lambda x: x and 'NoCard_story__grid__' in x}):
|
||||
sec = tag.find('div', attrs={'class': lambda x: x and 'NoCard_header__nav__' in x})
|
||||
section = self.tag_to_string(sec).strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user