News_Scraper is a Python-based project that automates the process of scraping news articles from various online sources. This project extracts the latest news articles, processes the content, and stores it in a structured format for further analysis or usage.
- Multi-source scraping: Collect news from multiple sources.
- Customizable: Easy to add new sources and configure scraping rules.
- Data storage: Save articles in a structured format.
- Content processing: Ectract major information such as titles,paragraph,headers,news and many more.
-
Clone the repository:
git clone https://github.com/ParsuramBaral/Scrapper_News.git cd News_Scraper
-
Set up a vitual environment (OPTIONAL BUT SUGGESTED!)
python -m venv env .\env\Scripts\activate # On Windows source env/bin/activate # On Unix or MacOS
-
Install the required packages: You can watch out for List of Python Dependencies Install the required Dependencies:
pip install -r requirements.txt
-
Run the scraper:
News_Scrapper.py
-
View the scraped data:
- The scraped articles will be seen in the terminal as per the format in the program.
output: format: json seen in: running terminal, in text editors (eg:VS Code)
Contributing Contributions are welcome! Please read the contributing guidelines for more information.
Fork the repository Create a new branch (git checkout -b feature-branch) Make your changes Commit your changes (git commit -m 'Add some feature') Push to the branch (git push origin feature-branch) Create a new Pull Request
License This project is licensed under the MIT License - see the LICENSE file for details.
Contact For any inquiries or issues, please open an issue on GitHub or contact me at [email protected]