-
Make sure you have Python installed locally.
-
Create and activate a virtual environment (optional but recommended):
python -m venv venv # Create a virtual environment source venv/bin/activate # Activate the virtual environment (for Linux/Mac) .\venv\Scripts\activate # Activate the virtual environment (for Windows)
-
Navigate to the directory:
cd gvmg
-
Run the script:
scrapy crawl gvmgspider -o articles.json
Ensure you have Scrapy installed locally (after the venv activation) to run the script properly.