mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -176,10 +176,7 @@ class Economist(BasicNewsRecipe):
|
|||||||
self.log('Got cover:', self.cover_url)
|
self.log('Got cover:', self.cover_url)
|
||||||
break
|
break
|
||||||
|
|
||||||
sections = soup.findAll(
|
sections = soup.findAll('div', attrs={'class': 'list__title'})
|
||||||
'div', attrs={'class': 'list__title',
|
|
||||||
'data-reactid': True}
|
|
||||||
)
|
|
||||||
if sections:
|
if sections:
|
||||||
feeds = []
|
feeds = []
|
||||||
for section in sections:
|
for section in sections:
|
||||||
|
@ -176,10 +176,7 @@ class Economist(BasicNewsRecipe):
|
|||||||
self.log('Got cover:', self.cover_url)
|
self.log('Got cover:', self.cover_url)
|
||||||
break
|
break
|
||||||
|
|
||||||
sections = soup.findAll(
|
sections = soup.findAll('div', attrs={'class': 'list__title'})
|
||||||
'div', attrs={'class': 'list__title',
|
|
||||||
'data-reactid': True}
|
|
||||||
)
|
|
||||||
if sections:
|
if sections:
|
||||||
feeds = []
|
feeds = []
|
||||||
for section in sections:
|
for section in sections:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user