andersonmbwale / The-Namibian-News-Feed-Aggregator

An implementation of a Python script that aggregates and summarizes news articles from Namibia’s leading daily newspaper website: www.namibian.com.na

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Namibian News Feed Aggregator

An implementation of a Python script that aggregates and summarizes news articles from Namibia’s leading daily newspaper website: www.namibian.com.na

Features

  • Scrapes news articles from www.namibian.com.na using the requests and BeautifulSoup libraries
  • Stores the news articles in a list of dictionaries with the link, title, and summary of each article
  • Creates a simple GUI with a listbox and a text widget using the tkinter library
  • Displays the news titles in the listbox and shows the summary of the selected article in the text widget

Installation

To run this project, you need to have Python 3 installed on your system. You also need to install the requests and BeautifulSoup libraries using pip:

pip install requests
pip install beautifulsoup4

Usage To run this project, you need to execute the following Python scripts in order:

  • news_scraper.py: This script scrapes the news articles from the website and stores them in a list of dictionaries
  • news_gui.py: This script creates the GUI and displays the news articles You can run these scripts from your terminal or your preferred IDE.

License

This project is licensed under the GNU General Public License - see the LICENSE file for details.

Contributing

If you want to contribute to this project, please follow these steps:

Fork this repository

  • Create a new branch with a descriptive name
  • Make your changes and commit them with a clear message
  • Push your branch to your forked repository
  • Create a pull request with a detailed description of your changes

Contact

If you have any questions or feedback about this project, please feel free to contact me at anderson@thepebl.com

About

An implementation of a Python script that aggregates and summarizes news articles from Namibia’s leading daily newspaper website: www.namibian.com.na

License:GNU General Public License v3.0


Languages

Language:Python 100.0%