Update economist_free.recipe

This commit is contained in:
bobbysteel 2017-12-07 16:20:58 +00:00 committed by GitHub
parent ac94d00ed2
commit 44eceb5e57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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