mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 20:55:54 +01:00
Update economist.recipe
This commit is contained in:
parent
44eceb5e57
commit
e4ef6b8acf
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ def economist_parse_index(self, soup):
|
|||
if img is not None:
|
||||
for part in img['srcset'].split():
|
||||
if part.startswith('//'):
|
||||
part = part.replace('200-width','1200-width')
|
||||
part = part.replace('200-width','640-width')
|
||||
self.cover_url = 'https:' + part
|
||||
self.log('Got cover: ',self.cover_url)
|
||||
break
|
||||
|
|
|
|||
Loading…
Reference in a new issue