diff --git a/news/scrape_news.py b/news/scrape_news.py index 5005b20..0f70a02 100644 --- a/news/scrape_news.py +++ b/news/scrape_news.py @@ -16,7 +16,7 @@ def scrape_news(date: datetime) -> pd.DataFrame: # Set headers to mimic a web browser. headers = { - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" + "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)" } response = requests.get(url, headers=headers)