From ac94d00ed26726e6da63b1d76d6283fe969167fa Mon Sep 17 00:00:00 2001 From: bobbysteel Date: Thu, 7 Dec 2017 15:56:17 +0000 Subject: [PATCH] Fix cover resolution & add log line --- recipes/economist.recipe | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/economist.recipe b/recipes/economist.recipe index 0116528449..00c5ecc889 100644 --- a/recipes/economist.recipe +++ b/recipes/economist.recipe @@ -171,7 +171,9 @@ class Economist(BasicNewsRecipe): if img is not None: for part in img['srcset'].split(): if part.startswith('//'): + part = part.replace('200-width','1200-width') self.cover_url = 'https:' + part + self.log('Got cover: ',self.cover_url) break sections = soup.findAll(