The Content Aggregator is a Python project that allows users to fetch and view headlines from popular news websites. It simplifies the process of finding and accessing relevant content from multiple sources.
- Fetch headlines from multiple news websites.
- Choose a website to view headlines from.
- Simple command-line interface for user interaction.
- Python 3.x
requests
library (you can install it withpip install requests
)bs4
(Beautiful Soup) library for web scraping (you can install it withpip install beautifulsoup4
)
-
Clone the repository to your local machine.
git clone https://github.com/your-username/content-aggregator.git
- Open a terminal or command prompt.
- Navigate to the project directory.
- Run the script with Python:
python content_aggregator.py
1.Follow the on-screen instructions to select a news website and view headlines.
2.To quit the program, enter 'q' when prompted for a website selection.