1. #1
    Leverage
    HURR DERP DEEP DURP
    Leverage's Avatar Become A Pro!
    Join Date: 07-30-09
    Posts: 253

    SBRodds Scraping

    What is the best free tool to scrape the SBRodds site? I'm tired of doing it by hand.

  2. #2
    5050
    5050's Avatar Become A Pro!
    Join Date: 10-23-09
    Posts: 108

    Good question, would like to know too

  3. #3
    twister
    twister's Avatar Become A Pro!
    Join Date: 09-09-08
    Posts: 405

    I'd like to know too.

    Preferably scraping it straight into Excel, because I collect closing lines for all the sports I bet on.

  4. #4
    feltball
    feltball's Avatar Become A Pro!
    Join Date: 09-07-08
    Posts: 106
    Betpoints: 78

    learn some coding I guess.

  5. #5
    runnershane14
    runnershane14's Avatar Become A Pro!
    Join Date: 07-23-07
    Posts: 803
    Betpoints: 84

    use modzilla browser and get this add-on..it works pretty well actually

    http://www.outwit.com/

  6. #6
    williams22
    williams22's Avatar Become A Pro!
    Join Date: 09-19-08
    Posts: 6,134

    Quote Originally Posted by runnershane14 View Post
    use modzilla browser and get this add-on..it works pretty well actually

    http://www.outwit.com/
    Which download are you using? I'm very interested in this as I have yet to find an easy place to scrape lines from.

  7. #7
    skrtelfan
    skrtelfan's Avatar Become A Pro!
    Join Date: 10-09-08
    Posts: 1,913
    Betpoints: 3337

    My programming friends have been encouraging me to learn Perl to learn how to scrape data.

  8. #8
    roasthawg
    roasthawg's Avatar Become A Pro!
    Join Date: 11-09-07
    Posts: 2,990

    Tough to scrape anything from a page that uses javascript. Copying and pasting into excel works best in this case. Sucks but it's tough to get around unless you have a little more advanced knowledge.

  9. #9
    Leverage
    HURR DERP DEEP DURP
    Leverage's Avatar Become A Pro!
    Join Date: 07-30-09
    Posts: 253

    I have advanced knowledge, I'm just lazy. I want something already coded and compiled.

  10. #10
    jeccross
    jeccross's Avatar Become A Pro!
    Join Date: 10-26-09
    Posts: 18

    I'd like to know this, it shouldn't be too hard to write an excel macro to reformat correctly after pasting into excel? Anyone done it?

  11. #11
    Indecent
    Indecent's Avatar Become A Pro!
    Join Date: 09-08-09
    Posts: 758
    Betpoints: 1156

    As was already mentioned, it's going to be tough to do a traditional HTML scrape due to javascript use, and I'm guessing that was their intention. It won't stop you from building an OCR tool that takes a snapshot and processes the text in the image automatically. Plenty of open source/free OCR tools out there, not too hard to modify or use them in your program.

  12. #12
    arwar
    arwar's Avatar Become A Pro!
    Join Date: 07-09-09
    Posts: 208
    Betpoints: 1544

    I just wrote a scraper. It was indeed tricky. I considered OCR but concluded that it is not a viable option. if you are interested PM me.

  13. #13
    arwar
    arwar's Avatar Become A Pro!
    Join Date: 07-09-09
    Posts: 208
    Betpoints: 1544

    Excel SBR scrape

    here is an example .xls for Dec 08,

  14. #14
    arwar
    arwar's Avatar Become A Pro!
    Join Date: 07-09-09
    Posts: 208
    Betpoints: 1544

    nba 2008-2009 season sbr data

    1 row = 1 game

  15. #15
    runnershane14
    runnershane14's Avatar Become A Pro!
    Join Date: 07-23-07
    Posts: 803
    Betpoints: 84

    thanks arwar thats awesome..is there any chance you could do nhl 2008-2009 the same way. I would really appreciate it.

  16. #16
    Dave Head
    Dave Head's Avatar Become A Pro!
    Join Date: 07-22-09
    Posts: 73

    I've submitted the following message to SBR:

    Regarding the "Handicapper's Thinktank" thread "SBRodds scraping":

    Some Posters are scraping data from the SBR website, and would like to know the best way. I propose that if we ask nicely, SBR may provide downloadable text packages, and save us all a lot of scraping. These packages could be compressed in zip format which would reduce the overhead on the SBR server.

  17. #17
    arwar
    arwar's Avatar Become A Pro!
    Join Date: 07-09-09
    Posts: 208
    Betpoints: 1544

    Quote Originally Posted by runnershane14 View Post
    thanks arwar thats awesome..is there any chance you could do nhl 2008-2009 the same way. I would really appreciate it.
    no problem for NHL - I'll take a look at it when I get a chance

  18. #18
    arwar
    arwar's Avatar Become A Pro!
    Join Date: 07-09-09
    Posts: 208
    Betpoints: 1544

    nba 07-08-all season

    I can zip em up

  19. #19
    man3645
    man3645's Avatar Become A Pro!
    Join Date: 09-18-09
    Posts: 269

    Quote Originally Posted by Dave Head View Post
    I've submitted the following message to SBR:

    Regarding the "Handicapper's Thinktank" thread "SBRodds scraping":

    Some Posters are scraping data from the SBR website, and would like to know the best way. I propose that if we ask nicely, SBR may provide downloadable text packages, and save us all a lot of scraping. These packages could be compressed in zip format which would reduce the overhead on the SBR server.
    Good idea.

  20. #20
    so im zach
    so im zach's Avatar Become A Pro!
    Join Date: 01-07-09
    Posts: 585
    Betpoints: 37

    I really like jQuery + Firebug.

  21. #21
    bolekblues
    bolekblues's Avatar Become A Pro!
    Join Date: 12-06-08
    Posts: 420

    Thank you arwar, this is what i've been looking for. Looks awesome!!

    Dave Head great idea, hopefully this will work.

  22. #22
    Wrecktangle
    Wrecktangle's Avatar Become A Pro!
    Join Date: 03-01-09
    Posts: 1,524
    Betpoints: 3209

    Great. Thanks!

  23. #23
    arwar
    arwar's Avatar Become A Pro!
    Join Date: 07-09-09
    Posts: 208
    Betpoints: 1544

    Quote Originally Posted by Wrecktangle View Post
    Great. Thanks!
    I thought you wrote your own scrapers?

  24. #24
    runnershane14
    runnershane14's Avatar Become A Pro!
    Join Date: 07-23-07
    Posts: 803
    Betpoints: 84

    any luck on the nhl arwar? Actually maybe we could work out some deal with betpoints if you could provide me with info on other sports too? This is good stuff!

  25. #25
    arwar
    arwar's Avatar Become A Pro!
    Join Date: 07-09-09
    Posts: 208
    Betpoints: 1544

    Quote Originally Posted by runnershane14 View Post
    any luck on the nhl arwar? Actually maybe we could work out some deal with betpoints if you could provide me with info on other sports too? This is good stuff!
    I just haven't had a chance to look at NHL yet. You need to realize that historical data and real time data are different animals. Both are do-able, just different. Exactly how are you planning to give up points?

  26. #26
    Pucks
    Pucks's Avatar Become A Pro!
    Join Date: 11-24-09
    Posts: 60

    Quote Originally Posted by Dave Head View Post
    I've submitted the following message to SBR:

    Regarding the "Handicapper's Thinktank" thread "SBRodds scraping":

    Some Posters are scraping data from the SBR website, and would like to know the best way. I propose that if we ask nicely, SBR may provide downloadable text packages, and save us all a lot of scraping. These packages could be compressed in zip format which would reduce the overhead on the SBR server.
    This is a great Idea.

  27. #27
    runnershane14
    runnershane14's Avatar Become A Pro!
    Join Date: 07-23-07
    Posts: 803
    Betpoints: 84

    well ive only got 6 points at the moment because i just bought a freeplay but give me a few weeks and i will have some points to pay you. I am not as interested in current seasons but basically previous seasons (all sports). You name the price, I am pretty open as far as how many points per season of information because i do realize its probably a lot of work. I do however think this information is very valuable in some of the things I am trying to do. I would also like for the files to be emailed to me or something instead of posting in this thread since I would be the only one paying points for it, unless other posters would like to collectively pay you for the files. Let me know, thanks arwar.

  28. #28
    arwar
    arwar's Avatar Become A Pro!
    Join Date: 07-09-09
    Posts: 208
    Betpoints: 1544

    YTD NBA open/close totals & scores

    these are through 01/05/10

  29. #29
    rfr3sh
    Blind Knucklehead
    rfr3sh's Avatar Become A Pro!
    Join Date: 11-07-09
    Posts: 10,229
    Betpoints: 604

    how would you scrape the line movements and the final outcome of nba games to an excel spread sheet

    01/06 18:46 +13½ +100 / -13½ -110
    01/06 18:51 +13½ -101 / -13½ -109
    01/06 18:57 +13½ +101 / -13½ -111
    01/06 19:01 +13½ +105 / -13½ -115
    01/06 19:06 +13½ +106 / -13½ -116

    like that transfere to an excel?

  30. #30
    dickersonka
    dickersonka's Avatar Become A Pro!
    Join Date: 01-05-10
    Posts: 2

    I created an automated program that will scrape the odds and save the open / closing lines to a database for me. Based upon those odds I will make my picks and save them to my database. Throughout the day another program runs and will automatically grade my picks as winners or losers for me.

    Odds scraping isn't rocket science, its just tedious work that needs to be put together the first time, then it will run until wherever you are scraping from decides to change their site.

    As previously stated, current odds vs archive are a different story, just much more work.

    Any specific questions you have about it?

  31. #31
    Bsims
    Bsims's Avatar Become A Pro!
    Join Date: 02-03-09
    Posts: 827
    Betpoints: 13

    Quote Originally Posted by dickersonka View Post
    I created an automated program that will scrape the odds and save the open / closing lines to a database for me. Based upon those odds I will make my picks and save them to my database. Throughout the day another program runs and will automatically grade my picks as winners or losers for me.

    Odds scraping isn't rocket science, its just tedious work that needs to be put together the first time, then it will run until wherever you are scraping from decides to change their site.

    As previously stated, current odds vs archive are a different story, just much more work.

    Any specific questions you have about it?
    Two questions. What software did you use to develop the programs? What sites can you scrape from?

  32. #32
    arwar
    arwar's Avatar Become A Pro!
    Join Date: 07-09-09
    Posts: 208
    Betpoints: 1544

    Quote Originally Posted by runnershane14 View Post
    well ive only got 6 points at the moment because i just bought a freeplay but give me a few weeks and i will have some points to pay you. I am not as interested in current seasons but basically previous seasons (all sports). You name the price, I am pretty open as far as how many points per season of information because i do realize its probably a lot of work. I do however think this information is very valuable in some of the things I am trying to do. I would also like for the files to be emailed to me or something instead of posting in this thread since I would be the only one paying points for it, unless other posters would like to collectively pay you for the files. Let me know, thanks arwar.
    I'm not looking for any points, I'll try to take a peek at NHL this weekend.

  33. #33
    arwar
    arwar's Avatar Become A Pro!
    Join Date: 07-09-09
    Posts: 208
    Betpoints: 1544

    Quote Originally Posted by Bsims View Post
    Two questions. What software did you use to develop the programs? What sites can you scrape from?
    hey ole bill - I thought you have your own scraping (at least for baseball) tools. FWIW, I generally code in Delphi because it has a TWebBrowser component and a slew of other useful web based options. I imagine VB has them as well (and I make a lot of API calls, which are certainly supported there) but it is too kludgy to compile. A 5 line VB app ends up with 50 megs of dlls, etc. Delphi compiles into a neat standalone app - even smaller as a console app. Lately I have been fooling around with the VBA interface inside of EXCEL, but I still don't like VB even though I am certified in it. I did get a copy of Power Basic as you suggested, but it isn't as robust as Delphi. I guess Delphi has a lot bigger user base and thus more people developing components. Another benefit of Delphi is Kylix which allows apps to be ported to Linux which is hosting most web servers. I scrape covers (easy), nfl.com, atsdatabase, mlb, espn, of course sbr, yahoo, usatoday , et al. The first obstacle is getting on the same page with team names between sites. EG one site may have have Boston Red-Sox and the next one will be Boston Red Sox or Bosox. It's not too bad for pro sports, but NCAA baskets has something like 350 teams. I am just posting this stuff here to give people data to play with. BTW I haven't found any usuable trends (yet!!)

  34. #34
    investor
    Chicks jumpin my whip like a moshpit
    investor's Avatar Become A Pro!
    Join Date: 10-08-09
    Posts: 1,929

    hey arwar, know anyone who can code really good in flash media script?

  35. #35
    arwar
    arwar's Avatar Become A Pro!
    Join Date: 07-09-09
    Posts: 208
    Betpoints: 1544

    Quote Originally Posted by investor View Post
    hey arwar, know anyone who can code really good in flash media script?
    Not really.

    I use:------>> FlashWindow(Application.Handle,True);
    in some of my scrapers to make the system tray icon flash while scraping multiple pages (like a whole baseball season) so when it stops flashing I know the data is ready for manipulation. When I look at the code for some of the scripts it looks a lot like JAVA.

12 Last
Top