Skip to content

Repository files navigation

UFC Scraper

https://readthedocs.org/projects/ufc-scraper/badge/?version=latest https://coveralls.io/repos/github/balaustrada/ufcscraper/badge.svg?branch=main

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:

  1. Scraping UFC Statistics: Data from events, fights, and fighters is scraped from UFC stats and stored in CSV format.
  2. 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.

About

Package to scrape UFC data and UFC odds

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages