Skip to content

pratikpv/google_news_scraper_and_sentiment_analyzer

Repository files navigation

Google News scraper and sentiment analyzer using python

Summary:

  • Downloads news articles by searching on http://www.news.google.com with keywords of interest and specific date ranges.
  • Generates CVS files of news text
  • Uses pre-trained NLP models to perform sentiment analysis of the news text.

google_news_scraper.py

  • Is a scraper script which can search google news for a given date range using keywords of interest.
  • sample data generated by the script looks like this. ( for keywords 'bitcoin cryptocurrency) alt text

google_news_sentiment_analysis.py

Credits:

Code from https://towardsdatascience.com/web-scraping-news-articles-in-python-9dd605799558 is referenced as base to write scraper code.

About

Downloads news articles from Google news and uses pre-trained NLP models to perform sentiment analysis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages