A streamlit app that scrapes Google News RSS feed for news, summarizes it and displays as per choice - by top trending, category or as per a search term. Also has a bit of NLP magic working behind the scenes - to summarize long articles into a crisp little news byte.
Check out the project demo here, hosted on streamlit cloud.
- streamlit (web interface)
- nltk (natural language toolkit for analysing data)
- newspaper3k (analysing news articles)
- bs4 (for webscraping)
- black (for formatting)
- punkt (for parsing & natural language processing)
- vader_lexicon (for sentiment analysis)
- Create a virtual environment
virtualenv .streamlit-news-app
and activate it. pip install -r requirements.txt
to install required libraries.- Run the app
streamlit run streamlit-news-app.py