Vestyn/PythonFeedReader
Python script to display top RSS Feeds from built-in or custom feed URLs.
RSS Project
This project was created during a Scripting Languages course taught at my uni. It's purpose (for now) is to print the top 5 stories from a given RSS feed. I plan on expanding this project a bit more to include some additional functionality and ease-of-use. Stay tuned! -V
Prereqs
This project uses python3 and the "feedparser" module to analyze and format feed data (.xml) for human eyes.
Python
Python3 is used in this project and is (normally) already installed on linux machines.
To view your current python version in Linux:
python3 -vor
python3 --versionInstall the latest version using apt
To download the latest version with apt:
sudo apt-get upgrade python3Install required modules (feedparser)
You can install feedparser with pip by running the following command:
pip3 install feedparserUsage
To use the program with a custom URL:
python3 PythonFeedReader.py [URL]To use the program with pre-built URLs:
python3 PythonFeedReader.pyCurrent (03/2021) menu of pre-built options:
- BBC News
- CNN Top Stories
- ESPN
- Fox News - Latest
- LifeHacker
- New York Times
- NPR Top Stories
- Reddit r/news
- Reuters Financial News
- Wall Street Journal - World News
- Threatpost
- Bleeping Computer
- Reddit r/netsec
Disclaimer
This project was inspired by the Mr. Robot television series. Feel free to use it as you see fit! <3