Scrap location data from different sites
-
Clone https://github.com/salayhin/scrapy_business_location_parse.git
-
Create a seperate
config.py
file. Where, you'll put theSITE_URL
-
Go to project directory and install dependencies Command:
pip install -r requirements.txt
-
To run Category spider go to project folder and run on terminal:
scrapy crawl seven_eleven -o data/seven_eleven.json
This will create a seven_eleven.json file which contains the scrap data.