URL for site scrapping

Discuss anything related to using the program (eg. triggered betting tactics)

Moderator: 2020vision

URL for site scrapping

Postby hexer » Mon Apr 27, 2009 11:46 am

Does anybody know the URL for site scrapping. I need the saddle cloth numbers and quotes of each horse market.

At the moment I am using following URL:

http://uk.site.sports.betfair.com/betti ... ion.do?mi= plus marketID


But this URL does not give me always the actual betfair-order of the horses. It does not show me the upt to date order always.

So maybe someone knows another URL which is always supporting the actual Betfair-order of the horses and saddle cloth numbers in each market.

Thanks
hexer
 
Posts: 26
Joined: Mon Dec 04, 2006 1:43 pm
Location: Vienna Austria

Postby Captain Sensible » Mon Apr 27, 2009 10:53 pm

Been a while since I've done much scraping but I think Initialmarketdataaction populates the initail market data (as expected) setting the saddle cloth, order, roll over text etc and the market order. The price data is then refreshed on that market by calling

http://uk.site.sports.betfair.com/betti ... a.do?mi=???

The price data is then merged into the existing shell loaded by intialmarketdataaction if that makes sense to you and would not change the order the market was initially loaded as

Not too sure what you mean by order (I'm assuming increasing odds) or why you'd need Betfairs order
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby hexer » Tue Apr 28, 2009 8:50 am

With betfair order I mean that with the URL I get different results then it appears on the screen.

Example of saddle cloth numbers, name of horse, quotes, of the horses:

The screen shows:
3 Big Bird
5 Slow Fox
1 Mr. Hoo
4 Daisy
2 Donald

With http://uk.site.sports.betfair.com/betti ... ion.do?mi= plus marketID I get:

4 Daisy
1 Mr. Hoo
3 Big Bird
2 Donald
5 Slow Fox

So it is not the same like on the screen, but I would need the same order.
hexer
 
Posts: 26
Joined: Mon Dec 04, 2006 1:43 pm
Location: Vienna Austria

Postby Captain Sensible » Wed Apr 29, 2009 9:07 pm

It might be that odds have changed and betfair have reset the order since you loaded the screen. When you initially load that screen that is the order at that time and is used for the duration whilst you stay on that page. Any updated odds are then loaded into the screen by calling getpartialmarketdata and placed on the screen using javascript.

Obviously the reason for this is odds change all the while but you wouldn't want horses moving position just cos their odds changed you want it set at the positions when you loaded the market. However not everyone goes into the market at the same time so betfairs initial ordering changes in line with odds changes and someone loading market 10 minutes after you did would most likely get a different order.

You can get the initial order number from looking at the data returned

p.m_ER(17082809,1552995,100531251,'Bold Adventure',0,false,3.35,82.0,3.4,97.0,3.45,72.0,3.5,162.0,3.55,225.0,3.6,252.0,oM,1,11,"http://content-cache.betfair.com/feeds_images/Horses/SilkColours/c20090429kem/00054973.jpg","Yellow, red disc, red sleeves, yellow armlets, red cap","Chris Catlin","W. J. Musson","5 / 9-11","90-1212","33","0 ","")

The 0 means it's first (i.e. programming language starts at 0 not 1 as it's in an array of data)
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm


Return to Discussion

Who is online

Users browsing this forum: No registered users and 71 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.