Remove this ad
avatar

guiness

rookie botter

Posts: 39 Member Since: August 28, 2012

Lead

August 30, 2013 11:32:14

Tags : :

Hi guys,

I need to automatically scrape Betfair's fixed odds page once a day to get all the horses and the odds.

The output will be a text file with the 300+ horses like;

Time of race, Course, Horse Number, Horse name, odds
Time of race, Course, Horse Number, Horse name, odds
Time of race, Course, Horse Number, Horse name, odds
Time of race, Course, Horse Number, Horse name, odds
Time of race, Course, Horse Number, Horse name, odds
...
Time of race, Course, Horse Number, Horse name, odds

* From my understanding there is no way to get this information using the API. Is that correct?
Meaning I will have to scrape the data.


* I can scrape HTML, but will have to manually click on each Race Card and each racetime.. meaning it is alot of human work..

* Does anyone know a service or a website with this information already in an easily downloadable form?
Or have any other suggestions?


Thanks Guys

Quote    Reply   
Remove this ad
Remove this ad
avatar

birchy

Betfair Elite

Posts: 593 Member Since:May 11, 2008

#2 [url]

August 30, 2013 15:19:31

As a forewarning, you are not the first person to be looking for arbs between betfair's fixed odds and exchange prices. Make sure you correctly allow for commission!

As to the problem itself, you'll have to scrape the site by emulating a web browser in your programming language of choice. This is a fairly simple thing to do if you have the right tools. Get a http sniffer for your browser such as LiveHTTPHeaders, Fiddler2, etc so that you can directly access the *real* info rather than a whole page of images and other fancy things.

www.bespokebots.com

"This time next year Rodney, we'll be millionaires!"

Quote    Reply   
Add Reply

Quick Reply

bbcode help