Retrieving prices from web (javascript table)

Please post any questions regarding the program here.

Moderator: 2020vision

Postby Captain Sensible » Thu Oct 13, 2011 7:25 pm

When I used to scrape the betfair pages their prices were formatted into the page using javascript too. I just used to use regex to pick out the price data and then use that data however I wanted. Generally the pages using javascript will be calling that data for updates from a separate page containing only the data so it makes life easier if you know how to recreate the data back into something useful.

It might help if you state the actual pages you're trying to grab as you've stated javascript and java and they're two different thing, I'd imagine grabbing a java page is a lot harder to parse out info
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby negapo » Sun Oct 16, 2011 8:11 pm

Captain Sensible

Thanks for helping.
This is an example of the data i was trying to scrape.

[url]
http://www.oddsportal.com/soccer/europe ... rg-885472/[/url]

I know that this page retrieves some data from several links (i checked with an http analyzer). This pages that the link i posted retrieves end in .dat and have some of the data but i don't have the information to build the links and the data is very very scrambled.
Dont know if there is any way of getting the odds data of the link.
Thanks in advance
negapo
 
Posts: 179
Joined: Thu Mar 19, 2009 1:17 pm
Location: Porto, Portugal

Postby negapo » Sun Oct 16, 2011 8:16 pm

negapo
 
Posts: 179
Joined: Thu Mar 19, 2009 1:17 pm
Location: Porto, Portugal

Postby negapo » Fri Oct 21, 2011 3:12 pm

Sorry, just one more bump.
Can anyone help please?
Thanks
negapo
 
Posts: 179
Joined: Thu Mar 19, 2009 1:17 pm
Location: Porto, Portugal

Previous

Return to Help

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 29 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.