A data scraper for UFC stats and odds.
Project description
This project is a data scraper designed to collect and process fight statistics and betting odds for UFC events. It is composed of two parts:
Scraping UFC Statistics: Data from events, fights, and fighters is scraped from UFC stats and stored in CSV format.
Scraping Betting Odds: Betting odds for UFC fights are scraped from BestFightOdds and matched to the correct fighters.
The data model for the UFC statistics part can be found in UFC statistics model while the one for BestFightOdds odds can be found in BestFightOdds model.
Installation
After cloning the environment:
git clone https://github.com/balaustrada/ufcscraper.git
The code can be easily installed through participants
pip install .
Usage
Once installed, there are two entry points to be used for scraping data:
ufcscraper_scrape_ufcstats_data: Scrape information from UFC stats.
ufcscraper_scrape_bestfightodds_data: Scrape information from BestFightOdds.
Credits
The methods for scraping UFC stats data are derived from the ones in https://github.com/remypereira99/UFC-Web-Scraping.
Disclaimer
This repository is for educational purposes only. The author does not promote, encourage, support, or excite any illegal activity or hacking without written permission. The author and this repository are not responsible for any misuse of the information provided.
The software and scripts provided in this repository should only be used for educational purposes. The author cannot be held responsible for any misuse by users.
The author is not responsible for any direct or indirect damage caused due to the use of the code provided in this repository. All the information provided here is for educational purposes only.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ufcscraper-1.1.0.tar.gz.
File metadata
- Download URL: ufcscraper-1.1.0.tar.gz
- Upload date:
- Size: 31.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f42ecc3f106208a22a9eff08187e7553d52253403b66b901ff2bae9864eb197
|
|
| MD5 |
5a775229e0a7d147186a71c2418811fd
|
|
| BLAKE2b-256 |
6f21cafad7e157f14dbf2ac56abfcd5d26f7d1b796f9e85d778cfc7db784b457
|
File details
Details for the file ufcscraper-1.1.0-py3-none-any.whl.
File metadata
- Download URL: ufcscraper-1.1.0-py3-none-any.whl
- Upload date:
- Size: 43.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dc6ad9a9a6de0a000c109cd76aa1db20cee3f48c8a917a463bd70e54beb3a0b
|
|
| MD5 |
ed0b84ac23a91b801771c783ba3c14c3
|
|
| BLAKE2b-256 |
6dc604df45184ac6d6f01bd894b4b4767ff52a4f6c31d01219ed3444e407cc63
|