Smartgambler
Pro-Punter

Go Back   OZmium Sports Betting and Horse Racing Forums > Public Forums > General Topics
User Name
Password
Register FAQ Search Today's Posts Mark all topics as read

To advertise on these
forums, e-mail us.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th May 2011, 08:44 AM
aussielongboat aussielongboat is offline
Member
 
Join Date: Nov 2010
Posts: 259
Smile Downloading form from Racing and Sports Website?

Racing and sports data:
I use the racing and sports data - but only on an observational basis.

Does anyone have or know of a way to download their form into excel or some other program. It seems quite useful with the Don Scott and other ratings etc.


thanks

Aussie.
Reply With Quote
  #2  
Old 17th May 2011, 05:47 PM
jazzy jazzy is offline
Member
 
Join Date: Nov 2010
Posts: 49
Default

Using a scripting language like Ruby, Perl or (my favourite) Python, the data from just about any site can be extracted. URLs can be constructed by the script to download today's pages. This data can then be stored in a database.

Some sites are harder to do than others, but it's really not rocket science if you know what you are doing. Only problem is sites that change their layout will most likely break the script, and it will need fixing.

If you google rent a coder or similar you'll find a plethora of sites where freelance coders will quote you a price for the job. They would almost certainly do it cheaper than I could
Reply With Quote
  #3  
Old 17th May 2011, 05:55 PM
aussielongboat aussielongboat is offline
Member
 
Join Date: Nov 2010
Posts: 259
Default

thanks jazzy,
i will see what i can do.

cheers

aussie
Reply With Quote
  #4  
Old 20th May 2011, 03:54 PM
jazzy jazzy is offline
Member
 
Join Date: Nov 2010
Posts: 49
Default

'Cause I'm such a nice guy , here's a quick and dirty Python script I wrote a while ago for a mate of mine... Dunno if he still uses it...

It gets all the worksheets for the day and writes the favourites to a spreadsheet. Note, it is a quick and dirty script, there is no error checking, and if it has a problem with something it raises an exception and closes (default Python behaviour)

If you want to try it out you will need to install Python - get it from http://www.python.org - get 2.7 not 3.x - it is not compatible and pywin32 (for the excel stuff) from http://sourceforge.net/projects/pyw...win32/Build216/ - select the right version to match the version of Python you've got.

Anyway, it shows what can be done.
Attached Files
File Type: zip get_rands.zip (1.9 KB, 1467 views)
Reply With Quote
  #5  
Old 21st May 2011, 10:17 AM
aussielongboat aussielongboat is offline
Member
 
Join Date: Nov 2010
Posts: 259
Smile

thanks jazzy,
i will have a lash and see what i can up with,
cheers

aussie
Reply With Quote
  #6  
Old 26th March 2012, 11:00 PM
Toil Toil is offline
Member
 
Join Date: Nov 2010
Posts: 89
Default

Quote:
Originally Posted by jazzy
'Cause I'm such a nice guy , here's a quick and dirty Python script I wrote a while ago for a mate of mine... Dunno if he still uses it...

It gets all the worksheets for the day and writes the favourites to a spreadsheet. Note, it is a quick and dirty script, there is no error checking, and if it has a problem with something it raises an exception and closes (default Python behaviour)

If you want to try it out you will need to install Python - get it from http://www.python.org - get 2.7 not 3.x - it is not compatible and pywin32 (for the excel stuff) from http://sourceforge.net/projects/pyw...win32/Build216/ - select the right version to match the version of Python you've got.

Anyway, it shows what can be done.


Does anyone know if this get_rands script from jazzy still works or am I not using python properly?
Reply With Quote
  #7  
Old 27th March 2012, 05:34 PM
UselessBettor UselessBettor is offline
Member
 
Join Date: Sep 2011
Posts: 1,534
Default

No idea.

I have posted downloads of the data at the end of each month. They are good for research if that is your aim. If you want quick research I have my website which allows you to test certain things from there pages.

If you want a certain system that can't be tested due to the implicity of the site let me know and I will tell you if I can run it manually for you against my database.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump



All times are GMT +10. The time now is 12:36 AM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2008 OZmium Pty. Ltd. All rights reserved . ACN 091184655