An open API service indexing awesome lists of open source software.

https://github.com/sonngdev/transfer-markt


https://github.com/sonngdev/transfer-markt

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Scrape Club Statistics on Transfer Markt

## Installation

Clone this repo.

```bash
git clone git@github.com:thanhsonng/transfer-markt.git

cd transfer-markt
```

Set up Python virtual environment.

```bash
python3 -m venv venv

source venv/bin/activate

# When you need to deactivate virtual environment later
deactivate
```

Install dependencies.

```bash
pip install -r requirements.txt
```

## Usage

Run Scrapy spider.

```bash
scrapy runspider scrape.py
```

Output CSV files are available at `./output/laliga/*`.