Jump to content

Trying to use autoit to help on horse racings betting


Recommended Posts

Hi,

What i'm trying to do is export the informations in this site:

http://horses.sportinglife.com/Meetings/

Here is a screenshot i took today (14 july):

post-12786-1216008390_thumb.jpg

to an array, and then, put this array on a mysql database. I want to make a table like this:

post-12786-1216006551_thumb.jpg

Then sort it by time, like this:

post-12786-1216006572_thumb.jpg

Note that i used just two meetings (Ayr and Newton Abbot), i made it just to illustrate what i want to do. For real, i would to put all meeting on the table (excluding the meetings in US).

Here is the structure behind the site:

post-12786-1216006598_thumb.jpg

I made that post because i really can't figure how i could make this. Sorry about my english, i will appreciate any help.

Regards.

Edited by D.M.
Link to comment
Share on other sites

I think in a kind of method, but i can't figure how i can implement this:

- select the block <div id="racelist">

- then search for each <div>

[LOOP]

. if this <div> is class="race_idx_hdr": get the "alt=" value and the "href=" value

. if this <div> is class="racecard_link": get the time value, name and number of runners

. if this <div> is class="race_idx_hdr" and the last <div> is not a class="race_idx_hdr", loop it all again

[LOOP]

Any help?

Thanks!

Edited by D.M.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...