Jump to content
UBot Underground

scraping help for sports betting odds site


Recommended Posts

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>

post-677-0-70475000-1305191383_thumb.gif

Link to post
Share on other sites

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.

  • Like 1
Link to post
Share on other sites

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

  • Like 1
Link to post
Share on other sites

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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...