This project is configured to be hosted on Scrapy Cloud.
It uses Zyte Smart Proxy Manager as proxy service.
The dataset can be found here.
A Jupyter Notebook with some EDA on that data can be found here.
The spider can be ran with
python3 -m scrapy crawl game_jams -a pages=5 -O game_jams.csv
With -a
you can specify arguments for the spider.
argument | type | description |
---|---|---|
pages | int | number of pages to scrape |
When setting up this project locally you must create a .env file with the following data:
setting | description |
---|---|
ZYTE_SMARTPROXY_APIKEY | your smart proxy manager api key |
There's a shortcut in the Makefile, just running make deploy
will deploy the project to Scrapy Cloud (given that you provided the project ID in scrapinghub.yml
).Don't forget to add the following settings in your cloud project's settings:
setting | description |
---|---|
ZYTE_SMARTPROXY_APIKEY | your smart proxy manager api key |
you could buy me a coffe if you wanted to. I'd really appreciate that.