Fix #1738298 [Economist recipe not working. Edition 3.13. Last successful use was a week ago.](https://bugs.launchpad.net/calibre/+bug/1738298)

This commit is contained in:
Kovid Goyal 2017-12-15 08:04:58 +05:30
parent 9d06256df1
commit 2e8632facf
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 8 deletions

View File

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

View File

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