Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/limagabri/football-data-scraper

This is a Python script to scrape historical football data from the football-data.co.uk website. The script utilizes the requests library to fetch data from the website.
https://github.com/limagabri/football-data-scraper

Last synced: 11 days ago
JSON representation

This is a Python script to scrape historical football data from the football-data.co.uk website. The script utilizes the requests library to fetch data from the website.

Awesome Lists containing this project

README

        

# Football Data Scraper

**Language Order / Ordem dos Idiomas:**
- **English:** Instructions in English are provided first, after Portuguese.
- **Português:** As instruções em inglês são fornecidas primeiro, depois em português.

This is a Python script to scrape historical football data from the football-data.co.uk website. The script utilizes the requests library to fetch data from the website.

Este é um script Python para realizar scraping de dados históricos de futebol do site football-data.co.uk. O script utiliza a biblioteca requests para obter os dados do site.

## Selected leagues / Ligas selecionadas (93-94)

From 93-94 until 22/23 / De 93-94 até 22/23

- **England Football (Premier League & Divs 1,2,3 & Conference)**
- **Scotland Football (Premiership & Divs 1,2 & 3)**
- **Germany Football (Bundesliga 1 & 2)**
- **Italy Football (Serie A & B)**
- **Spain Football (La Liga 1 & 2)**
- **France Football (Ligue 1 & 2)**
- **Netherlands Football (Erendivisie)**
- **Belgium Football (Jupiler League)**
- **Portugal Football (Liga Portugal)**
- **Turkey Football (Super Lig)**
- **Greece Football (Premier League)**

## How to Use / Como usar

1. **Prerequisites / Pré-requisitos:**
- Python 3.12 installed on your system / Python 3.12 instalado no seu sistema.

2. **Running the Script / Execução do script:**
- Run the `main.py` script / Execute o script `main.py`.
- Football data will be scraped from the website and saved to CSV files / Os dados de futebol serão raspados do site e salvos em arquivos CSV.

3. **Results / Resultados:**
- CSV files will be generated in the specified directory, containing historical football data / Arquivos CSV serão gerados no diretório especificado, contendo dados históricos de futebol.

## Note / Nota

This script is intended for educational purposes and scraping publicly available data. Please ensure compliance with the website's terms of service.

Este script é destinado a fins educacionais e raspagem de dados publicamente disponíveis. Certifique-se de estar em conformidade com os termos de serviço do site.