Update bloomberg-business-week.recipe

This commit is contained in:
unkn0w7n 2024-05-07 13:50:21 +05:30
parent c5eda8bbf3
commit 934c1be889

View File

@ -146,7 +146,10 @@ class Bloomberg(BasicNewsRecipe):
else:
data = json.loads(m2[0].text)
data = data['props']['pageProps']['story']
if 'story' in data['props']['pageProps']:
data = data['props']['pageProps']['story']
else:
return raw
title = '<h1>' + data['headline'] + '</h1>'