This is a python project which scrapes every news reported into Aos Fatos website using Scrapy and outputs the data into a CSV file.
You must have Python 3.7 installed in your environment.
-
Start Pipenv environment with
$ pipenv shell -
Install environment depedencies with
$ pipenv install -
Run aos_fatos scrapy project:
$ scrapy crawl fatos -s HTTPCACHE_ENABLED=1, and to generate a file with all the scraped data (as a CSV, for example), use-o {filename}.csvflag.