mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
98fb801e8a
commit
c813032e05
@ -525,7 +525,9 @@ class Economist(BasicNewsRecipe):
|
|||||||
|
|
||||||
feeds = []
|
feeds = []
|
||||||
|
|
||||||
for part in safe_dict(data, "props", "pageProps", "content", "sections"):
|
for part in safe_dict(
|
||||||
|
data, "props", "pageProps", "content", "headerSections"
|
||||||
|
) + safe_dict(data, "props", "pageProps", "content", "sections"):
|
||||||
section = safe_dict(part, "name") or ''
|
section = safe_dict(part, "name") or ''
|
||||||
if not section:
|
if not section:
|
||||||
continue
|
continue
|
||||||
|
@ -525,7 +525,9 @@ class Economist(BasicNewsRecipe):
|
|||||||
|
|
||||||
feeds = []
|
feeds = []
|
||||||
|
|
||||||
for part in safe_dict(data, "props", "pageProps", "content", "sections"):
|
for part in safe_dict(
|
||||||
|
data, "props", "pageProps", "content", "headerSections"
|
||||||
|
) + safe_dict(data, "props", "pageProps", "content", "sections"):
|
||||||
section = safe_dict(part, "name") or ''
|
section = safe_dict(part, "name") or ''
|
||||||
if not section:
|
if not section:
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user