mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update the_week.recipe
magzter cover
This commit is contained in:
parent
48340c2214
commit
cf9fb04dbf
@ -44,10 +44,7 @@ class TheWeek(BasicNewsRecipe):
|
|||||||
soup = self.index_to_soup(
|
soup = self.index_to_soup(
|
||||||
'https://www.magzter.com/IN/Malayala_Manorama/THE_WEEK/Business/'
|
'https://www.magzter.com/IN/Malayala_Manorama/THE_WEEK/Business/'
|
||||||
)
|
)
|
||||||
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']
|
|
||||||
|
|
||||||
def parse_index(self):
|
def parse_index(self):
|
||||||
issue = 'https://www.theweek.in/theweek.html'
|
issue = 'https://www.theweek.in/theweek.html'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user