harao-ml commited on
Commit
3542083
·
verified ·
1 Parent(s): 32dec0d

Update gather_news.py

Browse files
Files changed (1) hide show
  1. gather_news.py +1 -0
gather_news.py CHANGED
@@ -4,6 +4,7 @@
4
  # extracts relevant information such as title, URL, Source, Author and Publish date, and extracts full content.
5
 
6
  import requests
 
7
  from extract_news import extract_news_articles, create_dataframe, save_to_csv
8
 
9
  def fetch_newsapi_top_headlines(min_length=100, max_articles=30):
 
4
  # extracts relevant information such as title, URL, Source, Author and Publish date, and extracts full content.
5
 
6
  import requests
7
+ import os
8
  from extract_news import extract_news_articles, create_dataframe, save_to_csv
9
 
10
  def fetch_newsapi_top_headlines(min_length=100, max_articles=30):