From 2e8632facfb9f6f1477e875233e4426d18bf1207 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 15 Dec 2017 08:04:58 +0530 Subject: [PATCH] Fix #1738298 [Economist recipe not working. Edition 3.13. Last successful use was a week ago.](https://bugs.launchpad.net/calibre/+bug/1738298) --- recipes/economist.recipe | 5 +---- recipes/economist_free.recipe | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/recipes/economist.recipe b/recipes/economist.recipe index ebf65af3db..117e7f6083 100644 --- a/recipes/economist.recipe +++ b/recipes/economist.recipe @@ -176,10 +176,7 @@ class Economist(BasicNewsRecipe): self.log('Got cover:', self.cover_url) break - sections = soup.findAll( - 'div', attrs={'class': 'list__title', - 'data-reactid': True} - ) + sections = soup.findAll('div', attrs={'class': 'list__title'}) if sections: feeds = [] for section in sections: diff --git a/recipes/economist_free.recipe b/recipes/economist_free.recipe index ebf65af3db..117e7f6083 100644 --- a/recipes/economist_free.recipe +++ b/recipes/economist_free.recipe @@ -176,10 +176,7 @@ class Economist(BasicNewsRecipe): self.log('Got cover:', self.cover_url) break - sections = soup.findAll( - 'div', attrs={'class': 'list__title', - 'data-reactid': True} - ) + sections = soup.findAll('div', attrs={'class': 'list__title'}) if sections: feeds = [] for section in sections: