mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
FT cover
This commit is contained in:
parent
97959c7eef
commit
584f05e11c
@ -44,6 +44,10 @@ class ft(BasicNewsRecipe):
|
||||
classes('in-article-advert')
|
||||
]
|
||||
|
||||
def get_cover_url(self):
|
||||
soup = self.index_to_soup('https://www.frontpages.com/financial-times/')
|
||||
return 'https://www.frontpages.com' + soup.find('img', attrs={'id':'giornale-img'})['src']
|
||||
|
||||
# needs_subscription = 'optional'
|
||||
#
|
||||
# def get_browser(self, *args, **kw):
|
||||
|
Loading…
x
Reference in New Issue
Block a user