Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 558 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 558 Bytes

Scraper music news from CNN

A script written in Python to scrape news from:

https://cnnespanol.cnn.com/category/musica/

Using Xpath and Requests libraries. This script create a new folder with date of the scrape as the name folder and inside stores the titles of the news and their content.

Installation

You need to install the requirement.txt file in order to get all the dependencies, you can do that within a virtual environment:

pip install -r requirements.txt

and the run the script and get the news:

python3 scraper.py

MIT License