- Create
.env
file under the project dir - Add
ZYTE_API=<api-key>
Now spider can run by this command:
scrapy crawl retailer
docker build -t deelio_crawler .
docker run --rm --add-host host.docker.internal:host-gateway deelio_crawler scrapy crawl retailer -a RETAILER_ID=1
docker run --rm --add-host host.docker.internal:host-gateway deelio_crawler scrapy crawl retailer -a RETAILER_ID=1 -a SPIDER_TYPE=checker
docker run --rm --add-host host.docker.internal:host-gateway deelio_crawler python migrate_brands.py
docker run --rm --add-host host.docker.internal:host-gateway deelio_crawler scrapy crawl retailer -a SPIDER_TYPE=manual_scrapping