mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update hindu_business_line.recipe
magzter cover
This commit is contained in:
parent
2bcb9cbd58
commit
265835d280
@ -24,10 +24,7 @@ class BusinessLine(BasicNewsRecipe):
|
|||||||
soup = self.index_to_soup(
|
soup = self.index_to_soup(
|
||||||
'https://www.magzter.com/IN/THG-publishing-pvt-ltd/The-Hindu-Business-Line/Newspaper/'
|
'https://www.magzter.com/IN/THG-publishing-pvt-ltd/The-Hindu-Business-Line/Newspaper/'
|
||||||
)
|
)
|
||||||
for citem in soup.findAll(
|
return soup.find('img', id=lambda s: s and 'mgd__lhd__cover' in s.split())['src']
|
||||||
'meta', content=lambda s: s and s.endswith('view/3.jpg')
|
|
||||||
):
|
|
||||||
return citem['content']
|
|
||||||
|
|
||||||
keep_only_tags = [
|
keep_only_tags = [
|
||||||
classes(
|
classes(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user