diff --git a/src/calibre/web/feeds/recipes/recipe_economist.py b/src/calibre/web/feeds/recipes/recipe_economist.py index c88554ad27..de557b9cf7 100644 --- a/src/calibre/web/feeds/recipes/recipe_economist.py +++ b/src/calibre/web/feeds/recipes/recipe_economist.py @@ -61,8 +61,8 @@ class Economist(BasicNewsRecipe): continue a = tag.find('a', href=True) if a is not None: - url=a['href'].replace('displaystory', 'PrinterFriendly') - if url.startswith('/'): + url=a['href'].replace('displaystory', 'PrinterFriendly').strip() + if url.startswith('/') or url.startswith('PrinterF'): url = 'http://www.economist.com' + url try: subtitle = tag.previousSibling.contents[0].contents[0]