line scraper for Pinnacle odds

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arwar
    SBR High Roller
    • 07-09-09
    • 208

    #1
    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
  • Busterflywheel
    SBR MVP
    • 12-13-09
    • 3991

    #2
    Ill pass..thanxx
    Comment
    • runnershane14
      SBR Wise Guy
      • 07-23-07
      • 803

      #3
      thanks arwar good stuff!
      Comment
      • pats3peat
        SBR MVP
        • 10-23-05
        • 1163

        #4
        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
        Comment
        • arwar
          SBR High Roller
          • 07-09-09
          • 208

          #5
          Originally posted by pats3peat
          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?
          Comment
          • arwar
            SBR High Roller
            • 07-09-09
            • 208

            #6
            Originally posted by Busterflywheel
            Ill pass..thanxx
            pass it on..............
            Comment
            • arwar
              SBR High Roller
              • 07-09-09
              • 208

              #7
              Originally posted by pats3peat
              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??
              Comment
              • pats3peat
                SBR MVP
                • 10-23-05
                • 1163

                #8
                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?
                Comment
                • zorze
                  SBR Rookie
                  • 11-20-06
                  • 30

                  #9
                  really nice stuff, thank you..
                  Comment
                  • Busterflywheel
                    SBR MVP
                    • 12-13-09
                    • 3991

                    #10
                    Not so bad afterall..Must admit I was scared of a virus or something...THX though..
                    Comment
                    • rfr3sh
                      SBR Posting Legend
                      • 11-07-09
                      • 10229

                      #11
                      Comment
                      • rfr3sh
                        SBR Posting Legend
                        • 11-07-09
                        • 10229

                        #12
                        i dont know if its asking too much to add soccer aswell..no biggie if you cant
                        Comment
                        • pats3peat
                          SBR MVP
                          • 10-23-05
                          • 1163

                          #13
                          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.
                          Comment
                          • JoeVig
                            SBR Wise Guy
                            • 01-11-08
                            • 772

                            #14
                            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.
                            Comment
                            • durito
                              SBR Posting Legend
                              • 07-03-06
                              • 13173

                              #15
                              Originally posted by JoeVig
                              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.
                              Comment
                              • JohnAnthony
                                SBR Hall of Famer
                                • 04-30-09
                                • 5110

                                #16
                                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!
                                "I have never seen a wild thing feel sorry for itself. A little bird will fall dead, frozen from a bough, without ever having felt sorry for itself."

                                - D.H. Lawrence
                                Comment
                                • pats3peat
                                  SBR MVP
                                  • 10-23-05
                                  • 1163

                                  #17
                                  Originally posted by JohnAnthony
                                  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
                                  Comment
                                  • icsky3
                                    SBR MVP
                                    • 04-14-07
                                    • 1700

                                    #18
                                    Good stuff there
                                    Comment
                                    • blix177
                                      Restricted User
                                      • 09-20-08
                                      • 1520

                                      #19
                                      If you refresh too quick they will ban your IP. They assume it is a DOS attack.
                                      Comment
                                      • dkp
                                        SBR Sharp
                                        • 12-12-07
                                        • 272

                                        #20
                                        Thanks... good stuf..
                                        Comment
                                        • arwar
                                          SBR High Roller
                                          • 07-09-09
                                          • 208

                                          #21
                                          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,
                                          Comment
                                          • arwar
                                            SBR High Roller
                                            • 07-09-09
                                            • 208

                                            #22
                                            Originally posted by rfr3sh
                                            i dont know if its asking too much to add soccer aswell..no biggie if you cant
                                            soccer lines from Pinny?
                                            Comment
                                            • arwar
                                              SBR High Roller
                                              • 07-09-09
                                              • 208

                                              #23
                                              Originally posted by pats3peat
                                              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.
                                              Comment
                                              • arwar
                                                SBR High Roller
                                                • 07-09-09
                                                • 208

                                                #24
                                                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
                                                Comment
                                                • Netko
                                                  SBR Rookie
                                                  • 12-27-10
                                                  • 2

                                                  #25
                                                  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
                                                  Comment
                                                  • pedro803
                                                    SBR Sharp
                                                    • 01-02-10
                                                    • 309

                                                    #26
                                                    Wow Arwar, thanks! You are the bomb!!
                                                    Comment
                                                    • Netko
                                                      SBR Rookie
                                                      • 12-27-10
                                                      • 2

                                                      #27
                                                      Originally posted by pedro803
                                                      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, 01:35 PM.
                                                      Comment
                                                      • Konkss
                                                        SBR Hustler
                                                        • 10-12-10
                                                        • 54

                                                        #28
                                                        i'm not finding the scraper to, can anyone post the link ?
                                                        Comment
                                                        • aggieshawn
                                                          SBR MVP
                                                          • 01-24-07
                                                          • 4377

                                                          #29
                                                          bet the ponies today
                                                          Comment
                                                          • mikew
                                                            SBR Hustler
                                                            • 02-09-12
                                                            • 74

                                                            #30
                                                            bump, anyone have the link
                                                            Comment
                                                            • Sportsguy_USA
                                                              SBR Hustler
                                                              • 09-29-10
                                                              • 59

                                                              #31
                                                              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.
                                                              Comment
                                                              • goty0405
                                                                SBR High Roller
                                                                • 06-29-11
                                                                • 123

                                                                #32
                                                                Originally posted by Sportsguy_USA
                                                                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.
                                                                Comment
                                                                • strixee
                                                                  SBR Sharp
                                                                  • 05-31-10
                                                                  • 432

                                                                  #33
                                                                  Maybe he's interested in buying points.
                                                                  Comment
                                                                  SBR Contests
                                                                  Collapse
                                                                  Top-Rated US Sportsbooks
                                                                  Collapse
                                                                  Working...