mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update business_standard_print.recipe
magzter cover
This commit is contained in:
parent
09fbad3427
commit
2bcb9cbd58
@ -48,10 +48,7 @@ class BusinessStandardPrint(BasicNewsRecipe):
|
||||
soup = self.index_to_soup(
|
||||
'https://www.magzter.com/IN/Business-Standard-Private-Ltd/Business-Standard/Newspaper/'
|
||||
)
|
||||
for citem in soup.findAll(
|
||||
'meta', content=lambda s: s and s.endswith('view/3.jpg')
|
||||
):
|
||||
return citem['content']
|
||||
return soup.find('img', id=lambda s: s and 'mgd__lhd__cover' in s.split())['src']
|
||||
|
||||
def parse_index(self):
|
||||
today = datetime.today().strftime('%d-%m-%Y')
|
||||
|
Loading…
x
Reference in New Issue
Block a user