Tools to scrape and preprocess data for Hong Kong Jockey Club's racing data for machine learning / data visualization purposes.
Scrapes both race information and result from https://racing.hkjc.com/racing/information/english/Racing/LocalResults.aspx. See example data in Data-Examples folder and usage in example_usage.py.
Note:
- Only local races are scraped
- Only scrapes races where the top-left corner displays "Class x", likely missing out on Group 1 races and other special event races
Usage:
git clone https://github.com/doggie007/HKJC-Racing-Data-Scraper.git
cd HKJC-Racing-Data-Scraper
pip install -r requirements.txt
Currently in development
Currently in development.