D.M. Posted July 14, 2008 Share Posted July 14, 2008 (edited) 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):to an array, and then, put this array on a mysql database. I want to make a table like this:Then sort it by time, like this: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: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 July 14, 2008 by D.M. Link to comment Share on other sites More sharing options...
D.M. Posted July 15, 2008 Author Share Posted July 15, 2008 (edited) 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 July 15, 2008 by D.M. Link to comment Share on other sites More sharing options...
Confuzzled Posted July 20, 2008 Share Posted July 20, 2008 I think in a kind of method, but i can't figure how i can implement this:Any help?Thanks!Refer to section 2 of http://www.sportinglife.com/info/terms.html and approach the owner$ of the website for a legitimate information feed directly. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now