updated reqs and news sources

This commit is contained in:
Rripped
2022-03-16 12:58:58 +01:00
parent ae2ed56eb7
commit 3b675cf7fc
2 changed files with 2 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ def get_top_news_by_keyword(keyword):
Returns:
JSON/dict: dict containing articles
"""
top_headlines = newsapi.get_top_headlines(q=keyword, sources='bbc-news,the-verge,cnn', language='en')
top_headlines = newsapi.get_top_headlines(q=keyword, sources='bbc-news,the-verge,cnn,buzzfeed,fox', language='en')
return top_headlines
def format_article(article):