Skip to content

Commit

Permalink
🪁Added API🚀 News related IMG📺
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayon-SSP committed Aug 20, 2022
1 parent f089e14 commit 9c1b9f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def speat(str):
url_select = url_business

news = requests.get(url_select).text
# print(news)
news_dict =json.loads(news)
# print(json.dumps(news_dict, indent=2))
arts = news_dict['articles']
print("///////////////////////////////////////////////////////////")
for article,i in zip(arts,range(1,10)):
Expand Down

0 comments on commit 9c1b9f5

Please sign in to comment.