https://github.com/dorukyy/football-match-data-scraper
The "Football-Match-Data-Scraper" repository is a Python-based project. This project is designed to scrape football match data from various sources and compile it in a structured format. The data can be used for various purposes such as statistical analysis, predictive modeling, and more.
https://github.com/dorukyy/football-match-data-scraper
football-data football-data-scraper phyton scraper selenium web-scraping
Last synced: 3 months ago
JSON representation
The "Football-Match-Data-Scraper" repository is a Python-based project. This project is designed to scrape football match data from various sources and compile it in a structured format. The data can be used for various purposes such as statistical analysis, predictive modeling, and more.
- Host: GitHub
- URL: https://github.com/dorukyy/football-match-data-scraper
- Owner: dorukyy
- License: apache-2.0
- Created: 2024-02-17T23:10:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-24T12:40:30.000Z (3 months ago)
- Last Synced: 2025-02-24T13:35:23.216Z (3 months ago)
- Topics: football-data, football-data-scraper, phyton, scraper, selenium, web-scraping
- Language: Python
- Homepage:
- Size: 1.04 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Football Match Scraping
[](https://github.com/jonatasemidio/multilanguage-readme-pattern/blob/master/README.md)
[](https://github.com/dorukyy/multilanguage-readme-pattern/blob/master/README.tr.md)
[](https://opensource.org/licenses/MIT)
[](https://www.python.org/downloads/)
[](https://pypi.org/project/selenium/)
[](https://www.sqlite.org/index.html)[EN](#en)
[TR](#tr)
## EN
# Table of Contents
1. [Introduction](#introduction)
2. [Requirements](#requirements)
3. [Installation](#installation)
4. [Output](#output)
5. [License](#license)
6. [Contributing](#contributing)### Introduction
This project is about scraping football match data from the website [https://www.spordb.com](https://www.spordb.com). The data is scraped using the Selenium library in Python. The website used is Turkish so, league names will be Turkish.### Requirements
- Python 3.6 or higher
- Selenium
- Firefox Web Browser
- Geckodriver### Installation
- Install Python 3.6 or higher from [https://www.python.org/downloads/](https://www.python.org/downloads/)
- Install the required libraries using the following command:```bash
pip install -r requirements.txt
```
- Download the Geckodriver from [https://sourceforge.net/projects/geckodriver.mirror/](https://sourceforge.net/projects/geckodriver.mirror/)
- Extract the downloaded file and add the path to the extracted file to the system environment variable PATH.
- Edit config.ini file
- Run the script using the following command:```bash
python main.py
```### Output
The output of the script is a sqlite database file. The database contains the following tables:
- matches
- weeks### License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details### Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.____________________________________________________________________________________________________________________________________________________________________________________
# TR
## İçindekiler
1. [Giriş](#giriş)
2. [Gereksinimler](#gereksinimler)
3. [Kurulum](#kurulum)
4. [Çıktı](#çıktı)
5. [Lisans](#lisans)
6. [Katkıda Bulunma](#katkıda-bulunma)### Giriş
Bu proje, [https://www.spordb.com](https://www.spordb.com) web sitesinden futbol maçı verilerini çekmek için yazılmıştır. Veriler, Python'daki Selenium kütüphanesi kullanılarak çekilir.### Gereksinimler
- Python 3.6 veya daha yüksek
- Selenium
- Firefox Web Tarayıcısı
- Geckodriver### Kurulum
- [https://www.python.org/downloads/](https://www.python.org/downloads/) adresinden Python 3.6 veya daha yüksek sürümünü yükleyin.
- Aşağıdaki komutu kullanarak gerekli kütüphaneleri yükleyin:```bash
pip install -r requirements.txt
```
- Geckodriver'ı [https://sourceforge.net/projects/geckodriver.mirror/](https://sourceforge.net/projects/geckodriver.mirror/) adresinden indirin.
- İndirilen dosyayı çıkarın ve çıkarılan dosyanın yolunu sistem ortam değişkeni PATH'e ekleyin.
- config.ini dosyasını düzenleyin ve kendi bilgilerinizi yazın.
- Aşağıdaki komutu kullanarak çalıştırın:
```bash
python main.py
```### Çıktı
Projenin çıktısı bir sqlite veritabanı dosyasıdır. Veritabanı aşağıdaki tabloları içerir:
- maçlar
- haftalar### Lisans
Bu proje, ayrıntılar için [LICENSE](LICENSE) dosyasına bakın MIT Lisansı altında lisanslanmıştır.## Katkıda Bulunma
Pull istekleri bekliyoruz. Büyük değişiklikler için lütfen önce neyi değiştirmek istediğinizi tartışmak üzere bir "issue" açın.