nuc63 27 Posted May 12, 2011 Report Share Posted May 12, 2011 I have created a bot to visit urls and then scrape data and save all picks(but I am having trouble scraping.) I want to scrape team name and odds which can be + or - Website Covers.com example url you need a account to view it I will post a screenshot/code url http://contests.covers.com/sportscontests/pending.aspx?userid=330922&sportID=5 code <tr> <td> <a href="http://www.covers.com/pageLoader/pageLoader.aspx?page=/data/mlb/teams/team2982.html"> Chi. Cubs </a> </td> <td> - </td> <td> </td> <td> </td> <td> </td> </tr> <tr class="firstline"> <td> <a href="http://www.covers.com/pageLoader/pageLoader.aspx?page=/data/mlb/teams/team2968.html"> Arizona </a> </td> <td> - </td> <td>3:45 PM ET</td> <td>Arizona +130</td> <td>500</td> </tr> Quote Link to post Share on other sites
UBotBuddy 331 Posted May 12, 2011 Report Share Posted May 12, 2011 Here is what I have so far. http://screencast.com/t/l7D7idpLq It does scrape but you may have to do some text manipulation to finish getting what you want. The benefits of the Pro & Dev versions is that there are some additional Table nodes that can scrape to the level that you need. 1 Quote Link to post Share on other sites
nuc63 27 Posted May 13, 2011 Author Report Share Posted May 13, 2011 Thanks I will test out code soon Quote Link to post Share on other sites
nuc63 27 Posted May 13, 2011 Author Report Share Posted May 13, 2011 I can not get your code to work here is the .ubot version of your code can you please look at it. I tried this code on a single page and no results in picks.txt.covers2.ubot Quote Link to post Share on other sites
k1lv9h 76 Posted May 13, 2011 Report Share Posted May 13, 2011 nuc63 In the "choose by attribute" search string has a extra space after </TR>. When I removed that space my test worked with your covers2.ubot code. Kevin 1 Quote Link to post Share on other sites
nuc63 27 Posted May 14, 2011 Author Report Share Posted May 14, 2011 nuc63 In the "choose by attribute" search string has a extra space after </TR>. When I removed that space my test worked with your covers2.ubot code. Kevin thanks Botbuddy:The benefits of the Pro & Dev versions is that there are some additional Table nodes that can scrape to the level that you need. would you mind compling the pro or dev bot to show me the difference Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.