This commit is contained in:
unkn0w7n 2024-12-11 09:26:34 +05:30
parent 98fb801e8a
commit c813032e05
2 changed files with 6 additions and 2 deletions

View File

@ -525,7 +525,9 @@ class Economist(BasicNewsRecipe):
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 ''
if not section:
continue

View File

@ -525,7 +525,9 @@ class Economist(BasicNewsRecipe):
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 ''
if not section:
continue