This tool will scrape data from Fbref.com website and download .xlsx files into your machine.
-
Download or
git clone
the code to your local machine -
Install pipenv:
pip install pipenv
- Change to the directory containing the code and install all dependencies:
pipenv install
- Activate the virtual environment
pipenv shell
- Execute the code
python cli.py
- Follow the steps to scrape stats from your desired league/season
The resulting .xlsx files will be stored in the data
folder