mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Update economist.recipe
This commit is contained in:
parent
44eceb5e57
commit
e4ef6b8acf
@ -171,7 +171,7 @@ class Economist(BasicNewsRecipe):
|
|||||||
if img is not None:
|
if img is not None:
|
||||||
for part in img['srcset'].split():
|
for part in img['srcset'].split():
|
||||||
if part.startswith('//'):
|
if part.startswith('//'):
|
||||||
part = part.replace('200-width','1200-width')
|
part = part.replace('200-width','640-width')
|
||||||
self.cover_url = 'https:' + part
|
self.cover_url = 'https:' + part
|
||||||
self.log('Got cover: ',self.cover_url)
|
self.log('Got cover: ',self.cover_url)
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user