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

    line scraper for Pinnacle odds

    okay guys,

    A member here requested a scraper for Pinny so I wrote one for him and uploaded it to www.parlaysrus.com since I don't think that I can upload a program file to SBR. Anyway I not selling anything or looking for anything in return, just trying help out some people. The best bet is to download the program into its own folder and when it runs it will save the lines to a time stamped text file and .csv file. You also have an option to save to any filename you want. By default it grabs the NCAA baskets lines, but you can also get NBA and NHL by clicking the radio buttons.

    Hint: you can use Windows Task Scheduler to make the scraper run automatically at whatever times you specify.

    good luck

  2. #2
    Busterflywheel
    Busterflywheel's Avatar Become A Pro!
    Join Date: 12-13-09
    Posts: 3,991
    Betpoints: 24

    Ill pass..thanxx

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

    thanks arwar good stuff!

  4. #4
    pats3peat
    LETS GO PATS
    pats3peat's Avatar Become A Pro!
    Join Date: 10-23-05
    Posts: 1,163

    Pretty sweet, so this automatically updates the Excel/Notepad files whenever i run the scraper?
    P.S is there anyway i can make it so I dont get the NCAAb lines (only the NBA lines)

    good tip on the windows scheduler

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

    Quote Originally Posted by pats3peat View Post
    Pretty sweet, so this automatically updates the Excel/Notepad files whenever i run the scraper?
    P.S is there anyway i can make it so I dont get the NCAAb lines (only the NBA lines)

    good tip on the windows scheduler
    i knew somebody was going to ask this...how about if i put another link with NBA as default checked?

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

    Quote Originally Posted by Busterflywheel View Post
    Ill pass..thanxx
    pass it on..............

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

    Quote Originally Posted by pats3peat View Post
    Pretty sweet, so this automatically updates the Excel/Notepad files whenever i run the scraper?
    P.S is there anyway i can make it so I dont get the NCAAb lines (only the NBA lines)

    good tip on the windows scheduler
    i'll put another link with NBA as the default??

  8. #8
    pats3peat
    LETS GO PATS
    pats3peat's Avatar Become A Pro!
    Join Date: 10-23-05
    Posts: 1,163

    Im all set , i was just seeing how it works.
    Are you going to use it yourself... this would just be useful for looking at how odds change like every 30 minutes, etc right?

  9. #9
    zorze
    zorze's Avatar Become A Pro!
    Join Date: 11-20-06
    Posts: 30

    really nice stuff, thank you..

  10. #10
    Busterflywheel
    Busterflywheel's Avatar Become A Pro!
    Join Date: 12-13-09
    Posts: 3,991
    Betpoints: 24

    Not so bad afterall..Must admit I was scared of a virus or something...THX though..

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


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

    i dont know if its asking too much to add soccer aswell..no biggie if you cant

  13. #13
    pats3peat
    LETS GO PATS
    pats3peat's Avatar Become A Pro!
    Join Date: 10-23-05
    Posts: 1,163

    what are you guys using this for? Is looking at line movement changes that important to see incrementally?
    anyhow, cool programming. and people obviously like it/are using it.

  14. #14
    JoeVig
    JoeVig's Avatar Become A Pro!
    Join Date: 01-11-08
    Posts: 772
    Betpoints: 37

    Won't they get mad if you sit there and hammer their page? I would think everyone is sensitive with all the DDOS attacks going around.

  15. #15
    durito
    escarabajo negro
    durito's Avatar Become A Pro!
    Join Date: 07-03-06
    Posts: 13,173
    Betpoints: 438

    Quote Originally Posted by JoeVig View Post
    Won't they get mad if you sit there and hammer their page? I would think everyone is sensitive with all the DDOS attacks going around.
    Pinny has always been sensitive. They will ban your ip.

  16. #16
    JohnAnthony
    JohnAnthony's Avatar Become A Pro!
    Join Date: 04-30-09
    Posts: 5,110
    Betpoints: 12

    Can we ask them? I mean, can we ask them without getting banned or flagged? just ask, just ask..

    And thanks for your regardless, arwar!

  17. #17
    pats3peat
    LETS GO PATS
    pats3peat's Avatar Become A Pro!
    Join Date: 10-23-05
    Posts: 1,163

    Quote Originally Posted by JohnAnthony View Post
    Can we ask them? I mean, can we ask them without getting banned or flagged? just ask, just ask.. And thanks for your regardless, arwar!
    No point in asking because they prob have software that bans for IPs for retrieving their lines like every 2 seconds

  18. #18
    icsky3
    I'm always broke.
    icsky3's Avatar Become A Pro!
    Join Date: 04-14-07
    Posts: 1,700
    Betpoints: 192

    Good stuff there

  19. #19
    blix177
    blix177's Avatar Become A Pro!
    Join Date: 09-20-08
    Posts: 1,520

    If you refresh too quick they will ban your IP. They assume it is a DOS attack.

  20. #20
    dkp
    dkp's Avatar Become A Pro!
    Join Date: 12-12-07
    Posts: 247
    Betpoints: 577

    Thanks... good stuf..

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

    okay, I don't know if I can hit all of the issues but i'll try.
    First regarding hitting the site too often: when I was writing the scraper to scrape SBR, the testing phase pounded the site for pages - I would scrape maybe 100 pages in a minute or so. I was always looking (expecting?) that I might at least get blinked - but nothing ever happened. (aside I see that Vegashotsheet.com lnked directly to SBR this past season). A denial attack would come from 100's if not 1000's of boxes at the same time. With today's bandwidth a single PC is more like a gnat. So long as the only activity is accessing publicly available pages it should be a non issue.

    A few people are concerned about trojans,etc. There aren't any. I don't have time or inclination to go the script kiddie route.

    I have updated the Pinny line scraper (haven't released it yet). Rather than using the Windows scheduler, i just added a timer so you can scrape at intervals from 1 minute to daily. I let it run scraping every minute for 36 hours and ended up with a whole lot of useless data. But it is there and I will upload it shortly,

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

    Quote Originally Posted by rfr3sh View Post
    i dont know if its asking too much to add soccer aswell..no biggie if you cant
    soccer lines from Pinny?

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

    Quote Originally Posted by pats3peat View Post
    what are you guys using this for? Is looking at line movement changes that important to see incrementally?
    anyhow, cool programming. and people obviously like it/are using it.
    I was wondering that myself, but i think we can improve on it.

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

    scraping scoresandodds.com

    okay. I was running a query Friday nite and realized that I needed historical data on NBA money lines. covers.com has it buried way down but it is a pain in the ass to get too, so I remembered scoresandodds has that as well line movement histories in a condensed (a good thing) form. Also I seem to recall another post in another thread complaining of the difficulty of scraping data from their site. so necessity being the mother, etc. etc. I wrote a scraper for S&O. I ran it from 01/02/09 until today. the attached text file contains that data. For some reason, that I will investigate later, baseball got filtered out. But my NBA lines are there, as are NFL, NCAAB and I guess WNBA. The text file attached has that data. It is a .txt file that will open in Notepad by default. If you change the extension to a .csv file it will then open by default in EXCEL. I haven't done any refining on this data, but it is still useful and there is a lot of it. I don't know whose lines they are, but there they are. I will post this scraper as well. It has a feature so you can define any date range you want. The range i ran 01/02/2009-01/24/2010 took just over 10 minutes and dumped out the attached file. This stuff gets cool because you can study things like streaks during certain months. I will fix it for baseball and add some functonality so you can scrape a random sample, say 100 randomly selected games in July - or whatever. I am also working on building a database combining all of the data from different sites into a central clearinghouse. All you have to is learn how to write an SQL query but if you have ACCESS with your EXCEL, it will do it for you....

    happy scraping

  25. #25
    Netko
    Netko's Avatar Become A Pro!
    Join Date: 12-27-10
    Posts: 2

    hello, i cant find scraper on http://www.parlaysrus.com/
    Can someone send me scraper or whera i can download scraper?
    thx in advancefor help

  26. #26
    pedro803
    pedro803's Avatar Become A Pro!
    Join Date: 01-02-10
    Posts: 309
    Betpoints: 5708

    Wow Arwar, thanks! You are the bomb!!

  27. #27
    Netko
    Netko's Avatar Become A Pro!
    Join Date: 12-27-10
    Posts: 2

    Quote Originally Posted by pedro803 View Post
    Wow Arwar, thanks! You are the bomb!!
    can you tell me from where u download this line scraper? thx
    Last edited by Netko; 12-28-10 at 12:35 PM.

  28. #28
    Konkss
    Konkss's Avatar Become A Pro!
    Join Date: 10-12-10
    Posts: 54

    i'm not finding the scraper to, can anyone post the link ?

  29. #29
    aggieshawn
    SBR youtube Channels
    aggieshawn's Avatar SBR PRO
    Join Date: 01-24-07
    Posts: 4,360
    Betpoints: 1658

    bet the ponies today

  30. #30
    mikew
    mikew's Avatar Become A Pro!
    Join Date: 02-09-12
    Posts: 74
    Betpoints: 720

    bump, anyone have the link

  31. #31
    Sportsguy_USA
    Sportsguy_USA's Avatar Become A Pro!
    Join Date: 09-29-10
    Posts: 59

    Ummm...why do you need the scraper? They offer an XML feed API for their match ups and odds covering all sports. I consulted with a group who used it, among others, to develop a social Facebook sportsbook (entertainment purposes), but was a fairly cool idea - bet against friends on facebook, etc.

  32. #32
    goty0405
    goty0405's Avatar Become A Pro!
    Join Date: 06-29-11
    Posts: 123

    Quote Originally Posted by Sportsguy_USA View Post
    Ummm...why do you need the scraper? They offer an XML feed API for their match ups and odds covering all sports.
    This.

    I use it and it's easy and they wont ban your IP for being a dumbass and hitting their normal page servers too much.

  33. #33
    strixee
    I think, therefore I win
    strixee's Avatar Become A Pro!
    Join Date: 05-31-10
    Posts: 432

    Maybe he's interested in buying points.

Top