You have to set the Mapbox API key in the settings.py file. It is at the top(MAPBOX_API_KEY)
-
Download and install Python
32-bit Windows:
https://www.python.org/ftp/python/3.11.0/python-3.11.0.exe64-bit Windows:
https://www.python.org/ftp/python/3.11.0/python-3.11.0-amd64.exeMake sure to check the "Add python.exe to PATH" at the bottom of the installation window.
Open a command prompt and navigate to the scraper's directory.
The easiest way is to open the scraper's folder and type cmd in the address bar.
Type the following command, you have to do this only once:
pip install -r requirements.txt
You can start the scraper by typing the following command:
python main.py
The scraper will run all stores in parallel.
However, in order to reduce the server load, each website will receive only one simultaneous request with 1 second cooldown.