Skip to content

Instantly share code, notes, and snippets.

@codervince
Last active August 29, 2015 14:27
Show Gist options
  • Save codervince/2c0a780ecd4dc9b40e3f to your computer and use it in GitHub Desktop.
Save codervince/2c0a780ecd4dc9b40e3f to your computer and use it in GitHub Desktop.
GURUscrapy
http://www.hkjc.com/english/racing/OtherHorse.asp?HorseNo=N159
http://www.hkjc.com/english/racing/horse.asp?horseno=M327
There are two variants above plus a variant for retired horses
Each horse has a code a050 to t999
Idea is to extract data from main table either old or new style display ( cleaner version) given a horse code and a date - these will be provided programmatically or via a file
Ie only extract rows before the input date/extract all rows and filter from database
Use pipeline to update single table of remote Postgres db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment