/HK-Horse-Racing-Data-Scraper

Scraper for Hong Kong Jockey Club Website

Primary LanguageJupyter Notebook

Hong Kong Horse Racing

A series of tools to scrape, prepare and visualize Hong Kong Jockey Club's racing data.

The goal of this project is to help everyday gamblers uncover underlying patterns in past racing data to optimize their betting strategies.

Tools

Scraper [main.py] - A scraping tool that can be scheduled to scrape Hong Kong Jockey Club's website and extract data in a csv format

Project setup instructions

  • Open a terminal on the machine
# Clone repo
git clone https://github.com/jaloo555/HK-Horse-Racing-Data-Scraper.git

# Navigate to repo
cd HK-Horse-Racing-Data-Scraper/

# Install requirements
pip install -r requirements.txt

# Run program
python main.py

Completed

Scrapers:

  1. Horse veterinary records
  2. Penetrometer
  3. Horse info (all)
  4. Horse roarers
  5. Racecard
  6. Racecard info

Legacy

Legacy scrapers are available in the old/ folder.