Scraping country population over year using scrapy modules
- Install the scrapy module
pip install -r requirements.txt
- Then, move to project folder
cd countryData
- Finally, run this cmd, replace output.json to your locations demand output, you can config the file extension to .csv or .xml
scrapy crawl -o ../output.json country