Skip to content

Scrape products from 30+ e-commerce websites at a time using single spider

Notifications You must be signed in to change notification settings

Ehsan-U/RetailerCrawler

Repository files navigation

  • Create .env file under the project dir
  • Add ZYTE_API=<api-key>


Now spider can run by this command:

scrapy crawl retailer

Build

docker build -t deelio_crawler .

Run

Scrapping

docker run --rm --add-host host.docker.internal:host-gateway deelio_crawler scrapy crawl retailer -a RETAILER_ID=1

Product check

docker run --rm --add-host host.docker.internal:host-gateway deelio_crawler scrapy crawl retailer -a RETAILER_ID=1 -a SPIDER_TYPE=checker

Migrate brands

docker run --rm --add-host host.docker.internal:host-gateway deelio_crawler python migrate_brands.py

Manual scrapping

docker run --rm --add-host host.docker.internal:host-gateway deelio_crawler scrapy crawl retailer -a SPIDER_TYPE=manual_scrapping

About

Scrape products from 30+ e-commerce websites at a time using single spider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •