mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
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:
parent
9d06256df1
commit
2e8632facf
2 changed files with 2 additions and 8 deletions
|
|
@ -176,10 +176,7 @@ def economist_parse_index(self, soup):
|
|||
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:
|
||||
|
|
|
|||
|
|
@ -176,10 +176,7 @@ def economist_parse_index(self, soup):
|
|||
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue