updated reqs and news sources
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user