Merge pull request #4 from WebEngineering2/bot-features

Bug Removal
This commit is contained in:
Rripped 2022-03-16 11:20:15 +01:00 committed by GitHub
commit ae2ed56eb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,10 +18,6 @@ load_dotenv()
# Init
newsapi = NewsApiClient(api_key=os.getenv('NEWS_API_KEY'))
# /v2/top-headlines/sources
sources = newsapi.get_sources()
def get_top_news_by_keyword(keyword):
"""get top news to keyword
Args: