This commit is contained in:
unkn0w7n 2024-07-19 18:55:09 +05:30
parent aa2ef871fb
commit 6218a97320

View File

@ -266,6 +266,7 @@ class Economist(BasicNewsRecipe):
return self.economist_return_index(ans) return self.economist_return_index(ans)
def economist_parse_index(self, raw): def economist_parse_index(self, raw):
edition_date = self.recipe_specific_options.get('date')
if edition_date: if edition_date:
data = json.loads(raw)['data']['section'] data = json.loads(raw)['data']['section']
else: else: