Need a script written to scrape horse racing info from racingpost.com.
Needs to be able to run and scrape all races for the day, then all runners in those race, then all the form for all the horses in those races.
Needs to output to csv files.
Here's what I need - a script that I can run every day and produces the following csv files from scraping the [url removed, login to view] site:
1. Races - containing raceid, date, time, course, distance, value, class, going, runners and Betting Forecast. File should be called YYYYMMDDRaces where YYYYMMDD is the date
2. runners - for each runner in the race: containing raceid (as in races file), horseid,
weight, days since last run, jockey, trainer. File should be called YYYYMMDDRunners
3. Form - for each runner in the race : horseid (as in runners file), date, course, dist, conditions, weight, position, comments, SP, jockey
File should be called YYYYMMDDForm