Poster's Sportsbook Poll: OctoberView Poll Results
1. 5Dimes 450 total points 5Dimes Review
2. Pinnacle 408 total points Pinnacle Review
3. Heritage 227 total points Heritage Review
4. Bookmaker 138 total points Bookmaker Review
5. BetIslands 129 total points BetIslands Review
SBR Top-Rated Sportsbooks Recommended List
1. Pinnacle Sports SBR Rating A+ Pinnacle Sports Review
2. 5Dimes SBR Rating A+ 5Dimes Review
3. BookMaker SBR Rating A+ BookMaker Review
4. Legends SBR Rating A+ Legends Review
5. Bodog SBR Rating A Bodog Review
 
 
View New Posts
 
LinkBack Thread Tools
Old 03-08-07, 01:17 PM   #1
Ganchrow
Nolite te bastardes carborundorum.
 
Ganchrow's Avatar
Joined: 08-28-05
Posts: 5,003
 
Message Me
Default Pinnacle XML line feed

I've recently starting using Pinnacle's XML line feed again (to Pinny's specifications) but am extremely disappointed with the speed of service -- especially during peak times when it becomes essentially unusable.

Is anyone having any luck with this? I think I may need to go back to scraping their HTML.
Give Points Quick reply to this message

SBR Founder Join Date: 8/28/2005

Old 03-08-07, 01:20 PM   #2
jjgold
Stawell
 
jjgold's Avatar
SBR PRO
Joined: 07-20-05
Posts: 117,606
 
Message Me
Default

Scrape their html and your ip wll be blocked if you put some auto reloader in it.

XML is ok but again your IP will be blocked if you grab the feed more than every 2 minutes or so.

I love you Ganch but your not playing smart today at all.
Give Points Quick reply to this message

SBR Founder Join Date: 7/20/2005

Old 03-08-07, 01:52 PM   #3
ShamsWoof10
 
ShamsWoof10's Avatar
Joined: 11-15-06
Posts: 4,811
 
Message Me
Default

what is the differance between their XML feed and that "Dynamic Line Dsiplay" ? I use DLD alot and it's pretty sweet.. what is XML like compared to this..?

THANKS
Give Points Quick reply to this message
Old 03-08-07, 01:58 PM   #4
Ganchrow
Nolite te bastardes carborundorum.
 
Ganchrow's Avatar
Joined: 08-28-05
Posts: 5,003
 
Message Me
Default

Quote:
Originally Posted by jjgold View Post
Scrape their html and your ip wll be blocked if you put some auto reloader in it.
If you're going to scrape Pinnacle's HTML you just need to be careful ...

Quote:
Originally Posted by jjgold View Post
XML is ok but again your IP will be blocked if you grab the feed more than every 2 minutes or so.
They ask for 60 seconds between requests. That's pretty easy to do when each request takes 5 minutes to fulfill.

Quote:
Originally Posted by jjgold View Post
I love you Ganch but your not playing smart today at all.
You can tell me about it when we go out. At this point we'd even meet you in Newark.
Give Points Quick reply to this message

SBR Founder Join Date: 8/28/2005

Old 03-08-07, 02:04 PM   #5
Ganchrow
Nolite te bastardes carborundorum.
 
Ganchrow's Avatar
Joined: 08-28-05
Posts: 5,003
 
Message Me
Default

Quote:
Originally Posted by ShamsWoof10 View Post
what is the differance between their XML feed and that "Dynamic Line Dsiplay" ? I use DLD alot and it's pretty sweet.. what is XML like compared to this..?
You'd use the XML line feed if you wanted raw data for analytical purposes. Attached is a sample, pared-down Pinnacle XML line file (change the extension from .txt to .xml in order to view in-browser).
Attached Files
File Type: txt pinnacle.xml.txt (189.5 KB, 827 views)
Give Points Quick reply to this message

SBR Founder Join Date: 8/28/2005

Old 03-08-07, 02:54 PM   #6
ShamsWoof10
 
ShamsWoof10's Avatar
Joined: 11-15-06
Posts: 4,811
 
Message Me
Default

my browser couldn't get it to come up... can you cut and paste on your post a sample..?

Thanks
Give Points Quick reply to this message
Old 03-08-07, 03:17 PM   #7
Ganchrow
Nolite te bastardes carborundorum.
 
Ganchrow's Avatar
Joined: 08-28-05
Posts: 5,003
 
Message Me
Default

Quote:
Originally Posted by ShamsWoof10 View Post
my browser couldn't get it to come up... can you cut and paste on your post a sample..?

Thanks
You can also open it up with notepad (easier if you put back the .txt extension).
Give Points Quick reply to this message

SBR Founder Join Date: 8/28/2005

Old 03-09-07, 07:28 PM   #8
Value
 
Value's Avatar
Joined: 02-19-07
Posts: 9
 
Message Me
Default

Quote:
Originally Posted by Ganchrow View Post
I think I may need to go back to scraping their HTML.

what is scraping html?
Give Points Quick reply to this message
Old 03-09-07, 07:31 PM   #9
Ganchrow
Nolite te bastardes carborundorum.
 
Ganchrow's Avatar
Joined: 08-28-05
Posts: 5,003
 
Message Me
Default

Quote:
Originally Posted by Value View Post
what is scraping html?
See http://en.wikipedia.org/wiki/HTML_scraping.
Give Points Quick reply to this message

SBR Founder Join Date: 8/28/2005

Old 03-09-07, 08:13 PM   #10
ShamsWoof10
 
ShamsWoof10's Avatar
Joined: 11-15-06
Posts: 4,811
 
Message Me
Default

What's the advantage to scraping and what's the advantage to xml feeds..? It looks like a buch of bionary code... Forgive me for being unaware but I can't make heads or tails of it... Just looks like bionary code..
Give Points Quick reply to this message
Old 03-09-07, 08:18 PM   #11
slash
 
slash's Avatar
Joined: 08-10-05
Posts: 889
SBR Points: 1523
 
Message Me
Default

If you use spider programs, the xml feed is nice.
Give Points Quick reply to this message

SBR Founder Join Date: 8/10/2005

Old 03-09-07, 08:37 PM   #12
ShamsWoof10
 
ShamsWoof10's Avatar
Joined: 11-15-06
Posts: 4,811
 
Message Me
Default

Spider programs..? oh sh*t.. what the hell are those..? sounds interesting...
Give Points Quick reply to this message
Old 03-10-07, 12:18 PM   #13
Ganchrow
Nolite te bastardes carborundorum.
 
Ganchrow's Avatar
Joined: 08-28-05
Posts: 5,003
 
Message Me
Default

Quote:
Originally Posted by ShamsWoof10 View Post
What's the advantage to scraping and what's the advantage to xml feeds..? It looks like a buch of bionary code... Forgive me for being unaware but I can't make heads or tails of it... Just looks like bionary code..
Well first off, binary code will look something this:
Quote:
00000000 00010001 00000100 11111111 00010011 00000111 00000100 00010010 00000100 11111111 00001111 00000100 00001110 00001111 00001011 00000100 11111111 00010001 00000100 00000000 00001011 00001011 00011000 11111111 00010011 00000111 00000000 00010011 11111111 00000101 00010100 00000010 00001010 00001000 00001101 00000110 11111111 00010010 00010011 00010100 00001111 00001000 00000011 11111111 11111111
While XML may not always be transparently human readable it's still much higher level and easier to visually parse than binary (not that a properly motivated person couldn't read binary with a modest effort ...)

The advantage to an XML feed over scraping is that it's provided by design and follows a guaranteed format. HTML pages may will frequently have their formatting modified and will so without warning or description . Furthermore, many companies look askance and those scraping their pages. XML should be the default choice.

As a general rule, there really is no advantage to scraping over XML. However, there may well be case-specific reasons why XML could be preferable.

For example:
  • Pinnacle's XML feed does not provide access to the lines reflected in its drop-down box prices. If you wanted to automatically read this data you couldn't do so using their standard XML and instead would need to scrape the HTML.
  • A sportsbook may not devote the same quality of technology to its XML provision server as it might to its HTML provision server (or servers). The reason for this is obvious. It's more profitable to invest resources to a website used by nearly all of its customers, than to a feed used by a relatively small number. One effect of this could be what I mentioned in the first post of this thread; namely that accessing the feed could become extremely slow process. Another effect could be an unreliable XML feed that often crashed.
  • A company can effectively exert a lot more control over its XML feed than over its HTML.. The reason is b/c if a company sees you accessing its feed, it knows exactly what you're doing and can hence forbid you from accessing it too frequently. If you're scanning a web page, however, a book can't know for certain what you're doing and will typically allow you more latitude in terms of query frequency.
  • Data providers that provide HTML data, sometimes charge money for dedicated XML feeds.
Anyway, this is by no means a complete list, but is just a few thoughts off the top of my head. These reasons (which may not even exist in any particular circumstance). may or may not outweigh the pronounced structural advantages of XML. Use XML unless you have a good reason not to.
Give Points Quick reply to this message

SBR Founder Join Date: 8/28/2005

Old 05-18-09, 12:23 AM   #14
betplom
:-)
 
betplom's Avatar
Joined: 09-20-06
Posts: 13,084
 
Message Me
Stop

I can't get it to work either.
Give Points Quick reply to this message
Old 05-18-09, 12:51 AM   #15
tacomax
SBR Problem Poster 2007-08
 
tacomax's Avatar
Joined: 08-10-05
Posts: 9,629
 
Message Me
Default

betplom nicky bumps!!!!!11111111111
Give Points Quick reply to this message

SBR Founder Join Date: 8/10/2005

Old 05-25-09, 10:54 PM   #16
terrytateolb
 
terrytateolb's Avatar
Joined: 05-25-09
Posts: 1
 
Message Me
Default Pinnacle HTML Scraping

Quote:
Originally Posted by Ganchrow View Post
If you're going to scrape Pinnacle's HTML you just need to be careful ...
I've been writing a program that gets odds from Pinnacle by scraping their HTML, but earlier today my IP was banned by them. When you refer to being careful, what do you mean, i.e. what could I do differently that would prevent me from getting banned in the future?
Give Points Quick reply to this message
Old 05-25-09, 11:34 PM   #17
jjgold
Stawell
 
jjgold's Avatar
SBR PRO
Joined: 07-20-05
Posts: 117,606
 
Message Me
Default

Terry you can only grab every 2 minutes if not they ban your IP
Give Points Quick reply to this message

SBR Founder Join Date: 7/20/2005

Old 11-12-09, 02:52 PM   #18
fortunoman
 
fortunoman's Avatar
Joined: 11-02-08
Posts: 2
 
Message Me
Default

Quote:
Originally Posted by Ganchrow View Post
I've recently starting using Pinnacle's XML line feed again (to Pinny's specifications) but am extremely disappointed with the speed of service -- especially during peak times when it becomes essentially unusable.

Is anyone having any luck with this? I think I may need to go back to scraping their HTML.
Ganch-

tried to PM you to see if you wanted to exchange any feeds, but apparently your Inbox is full and the system wont deliver anymore PMs to you until you clear some space.

i have ~20 xml feeds for various books. i'd be willing to do a 1:1 exchange for feeds i dont have if there is any on my list that interests anybody reading this. anybody pls feel free to PM me if you are interested:

Feeds I have:
CentreBet
Gamebookers
Island Sports
NordicBet
Partybets
Sports Interaction
Stan James
WSEX
Bookmaker
Sportbet
Pinnacle
Linesmaker
Legends
Gamblers Palace
Betfred
BetJamaica
BlueSquare
BetClick
William Hill
BetAtHome
BetGun
Give Points Quick reply to this message
Old 12-15-09, 05:00 PM   #19
chantech
 
chantech's Avatar
Joined: 10-19-09
Posts: 27
 
Message Me
Default

Does anyone know what Pinny's limitations on screen scraping their site are? I.E. If I do it once every 3 minutes I should be ok?
Give Points Quick reply to this message
Old 12-15-09, 05:15 PM   #20
MonkeyF0cker
 
MonkeyF0cker's Avatar
Joined: 06-12-07
Posts: 10,017
 
Message Me
Default

Why would you scrape when they have the XML feed?
Give Points Quick reply to this message
Old 12-15-09, 05:30 PM   #21
jjgold
Stawell
 
jjgold's Avatar
SBR PRO
Joined: 07-20-05
Posts: 117,606
 
Message Me
Default

Approx 2-3 minutes

Why scrape if you can just use sbrodds or another line service?
Give Points Quick reply to this message

SBR Founder Join Date: 7/20/2005

Old 12-15-09, 05:33 PM   #22
MonkeyF0cker
 
MonkeyF0cker's Avatar
Joined: 06-12-07
Posts: 10,017
 
Message Me
Default

Umm. Some people want to populate line history databases in real time, jj.
Give Points Quick reply to this message
Old 12-15-09, 05:56 PM   #23
chantech
 
chantech's Avatar
Joined: 10-19-09
Posts: 27
 
Message Me
Default

Quote:
Originally Posted by jjgold View Post
Approx 2-3 minutes

Why scrape if you can just use sbrodds or another line service?
Correct me if I'm wrong, but I'm assuming sbrodds doesn't give both odds and line changes in real time?

We want to do our own analysis of how lines are changing from the time the line is posted to figure out the most optimal time to make offers and accept offers on a betting exchange and continuously optimize the prices we're getting.
Give Points Quick reply to this message
Old 12-15-09, 05:59 PM   #24
chantech
 
chantech's Avatar
Joined: 10-19-09
Posts: 27
 
Message Me
Default

Quote:
Originally Posted by MonkeyF0cker View Post
Why would you scrape when they have the XML feed?
I figured it would be faster since I didn't need the data for all sports and I didn't want to read in the whole XML feed. It's also easier to screen scrape than parse XML based on some of the tools we're using (I know that normally it's easier to parse XML).
Give Points Quick reply to this message
Old 12-15-09, 06:24 PM   #25
MonkeyF0cker
 
MonkeyF0cker's Avatar
Joined: 06-12-07
Posts: 10,017
 
Message Me
Default

Even if parsing the XML is less efficient with whatever language you are using (although I'm unaware of one where this is true), the process will still be more efficient as you'll likely need multiple scrapes for even the same sport (Full game, 1H, 2H, etc.). The full XML file is only processed once anyway. From there, you input a timestamp in your feed request and you only get line changes.

If you're set on scraping, however, I would simply call them and ask. Otherwise, you run the risk of having your IP blocked.
Give Points Quick reply to this message
Old 12-15-09, 07:17 PM   #26
jjgold
Stawell
 
jjgold's Avatar
SBR PRO
Joined: 07-20-05
Posts: 117,606
 
Message Me
Default

your IP will get banned scrapping lines from Pinny

Even if you use xml feed you only better pull it every 2-3 minutes or your done.
Give Points Quick reply to this message

SBR Founder Join Date: 7/20/2005

Old 12-15-09, 07:47 PM   #27
MrX
 
MrX's Avatar
Joined: 01-10-06
Posts: 1,543
 
Message Me
Default

Their own instructions state that once per minute is acceptable.
Give Points Quick reply to this message
Old 12-15-09, 08:01 PM   #28
MonkeyF0cker
 
MonkeyF0cker's Avatar
Joined: 06-12-07
Posts: 10,017
 
Message Me
Default

JJ, stick to videos please. As MrX said, the XML feed can be pulled every 60 seconds without recourse.
Give Points Quick reply to this message
Old 05-18-10, 05:25 PM   #29
dirk93
 
dirk93's Avatar
Joined: 10-17-09
Posts: 43
 
Message Me
Default

Sorry to bring up and old topic but I was messing around with the XML feed and I think I set it to scrape too frequently and got blocked from Pinnacle. Anyone have any ideas on how to get unblocked? Also, I'm having trouble with the XML feed. I know the instructions are there I just can't seem to get it into a functional form. Any help?
Give Points Quick reply to this message
Old 05-18-10, 05:26 PM   #30
durito
escarabajo negro
 
durito's Avatar
SBR PRO
Joined: 07-03-06
Posts: 12,734
 
Message Me
Default

email them and ask them to unblock your ip. tell them you won't hit it more than once a minute again.
Give Points Quick reply to this message
Old 08-09-10, 05:37 AM   #31
squallsquall
 
squallsquall's Avatar
Joined: 05-24-09
Posts: 277
 
Message Me
Default

Anyone used the "sportType" parameter when calling the XML-feed? I'm only interested in MMA, but I can't very well set the parameter value to "Mixed Martial Arts" (which is the sport type name), as it includes spaces.

Any suggestions? Customer service won't help out with this.
Give Points Quick reply to this message
Old 09-23-10, 03:51 PM   #32
Aperjan
 
Aperjan's Avatar
Joined: 09-23-10
Posts: 1
 
Message Me
Default

Hi Everyone:
who can understand and parse pinny xml?
i can't understand what means lastGame and lastContest in xml document? what is it? for what is it? what is last?
how can i get only soccer data ? hopw can i get only one game data by gamenumber? is it possible?
what is contestantnum in participand node? what is rotnum in participant node?
what is period_status and period_updae? where i can read full manual for this xml file?
Give Points Quick reply to this message
Old 11-30-10, 07:31 AM   #33
creeky
 
creeky's Avatar
Joined: 09-08-08
Posts: 2
 
Message Me
Default

Quote:
Originally Posted by Aperjan View Post
Hi Everyone:
who can understand and parse pinny xml?
i can't understand what means lastGame and lastContest in xml document? what is it? for what is it? what is last?
how can i get only soccer data ? hopw can i get only one game data by gamenumber? is it possible?
what is contestantnum in participand node? what is rotnum in participant node?
what is period_status and period_updae? where i can read full manual for this xml file?
Any help? I'm also interested in the meanings for all of the elements
Give Points Quick reply to this message
Old 11-30-10, 09:29 AM   #34
katstale
 
katstale's Avatar
SBR PRO
Joined: 02-07-07
Posts: 2,824
 
Message Me
Default

Pinny has indicated they might put buy/sell lines in the xml feed in the future. This might be worth a few folks sending them emails asking when this updated feature will be available.
Give Points Quick reply to this message
600pts

SBR POKER TOURNEY1st Place 1/13/2012

10,007

SBR POKER TOP 100

29th Place 11/1/2011

600pts

SBR POKER TOURNEY1st Place 2/7/2012

1500pts

SBR POKER CHAMPIONSHIP 11th Place 2/26/2011

2,777pts

SBR POKER
RYDER CUP
2nd Place 2011

Old 11-30-10, 11:55 AM   #35
whitey
I break websites.
 
whitey's Avatar
SBR PRO
Joined: 04-01-08
Posts: 458
 
Message Me
Default

Quote:
Originally Posted by creeky View Post
Any help? I'm also interested in the meanings for all of the elements
Pinnacle's feed is what we call "incremental" which means that when you request it you have the option of only receiving events/lines that have updated since your last call.

I suggest sticking with the parameter last parameter as its a little simpler to use. Basically when you receive the feed for the first time they give you a timestamp \\pinnacle_line_feed\PinnacleFeedTime you save this and send it as the value for the last parameter next time you request the feed. Doing so will cause only the lines and events that have changed since the last time you requested the feed to show up.

To request by only one league use the sportType parameter. For example, to request only soccer

http://xml.pinnaclesports.com/pinnac...ortType=Soccer
Give Points Quick reply to this message
 


Thread Tools



All times are GMT -5. The time now is 03:12 AM.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41