Clone this repo.
git clone git@github.com:thanhsonng/transfer-markt.git
cd transfer-markt
Set up Python virtual environment.
python3 -m venv venv
source venv/bin/activate
# When you need to deactivate virtual environment later
deactivate
Install dependencies.
pip install -r requirements.txt
Run Scrapy spider.
scrapy runspider scrape.py
Output CSV files are available at ./output/laliga/*
.