diff --git a/recipes/economist.recipe b/recipes/economist.recipe index 8574988d96..8541c489b3 100644 --- a/recipes/economist.recipe +++ b/recipes/economist.recipe @@ -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 diff --git a/recipes/economist_free.recipe b/recipes/economist_free.recipe index 8574988d96..8541c489b3 100644 --- a/recipes/economist_free.recipe +++ b/recipes/economist_free.recipe @@ -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