1. #36
    chachi
    Lazy Git
    chachi's Avatar Become A Pro!
    Join Date: 02-16-07
    Posts: 4,571
    Betpoints: 18

    or php via cli might be an option ...

  2. #37
    BetWeather
    BetWeather's Avatar Become A Pro!
    Join Date: 06-30-10
    Posts: 796
    Betpoints: 143

    Quote Originally Posted by Saab View Post
    if you are getting ajax updates you should be able to scrape them and build a database. python has a lot of good libraries for this...
    Yes but... you can't use client side javascript to scrape a site that on
    a different domain.

    so if you have a web page on your site that has client side js and XML that you
    would like to scrape another site (xml lines for example) you can't do it.

    Cross domain security violation.

    You have to use server side XML (php or asp etc)

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

    i dropped an XML binding component on a form and it generated 7000 lines of code? brute force works best. also wonder how to fit a VB implementation on a floppy?

  4. #39
    chachi
    Lazy Git
    chachi's Avatar Become A Pro!
    Join Date: 02-16-07
    Posts: 4,571
    Betpoints: 18

    There are plenty of decent generic PHP scraping routines/methods ... google is your friend

  5. #40
    Scooter
    Scooter's Avatar Become A Pro!
    Join Date: 01-15-07
    Posts: 1,159
    Betpoints: 2064

    Does Betfair have an xml feed?
    Skybook?
    Last edited by Scooter; 10-07-10 at 05:34 AM.

  6. #41
    bookie
    bookie's Avatar Become A Pro!
    Join Date: 08-10-05
    Posts: 2,083
    Betpoints: 1012

    Quote Originally Posted by scdavis0 View Post
    Does parlaymakers.com use this feed to serve up their lines? Or do they have some kind of special deal with pinnnacle?
    According to their blog they have no special deal or access, and the site is built on the same free xml feed that's available to anyone.

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

    Quote Originally Posted by Scooter View Post
    Does Betfair have an xml feed?
    Skybook?
    Betfair has a webservice and a public API available to work with it. There are several wrappers written for all kinds of languages that simplify the process, you can probably find one that will do what you need.
    Last edited by Indecent; 10-07-10 at 10:19 AM.

  8. #43
    Landprofits
    Landprofits's Avatar Become A Pro!
    Join Date: 08-26-09
    Posts: 138

    Anyone know of an XML feed for SBObet?

  9. #44
    Josy
    Josy's Avatar Become A Pro!
    Join Date: 10-12-10
    Posts: 157
    Betpoints: 4727

    Good thread. Found some good infos here.
    Thank you guys.

  10. #45
    katstale
    katstale's Avatar Become A Pro!
    Join Date: 02-07-07
    Posts: 3,924

    I need more geek friends.

  11. #46
    chachi
    Lazy Git
    chachi's Avatar Become A Pro!
    Join Date: 02-16-07
    Posts: 4,571
    Betpoints: 18


  12. #47
    Scooter
    Scooter's Avatar Become A Pro!
    Join Date: 01-15-07
    Posts: 1,159
    Betpoints: 2064

    Is an odds comparison site like oddschecker using XML feeds for all of the books it covers?

  13. #48
    tommygun
    Hareeba! for Prime Minister
    tommygun's Avatar Become A Pro!
    Join Date: 07-01-10
    Posts: 2,239
    Betpoints: 638

    can someone explain in plain english what xml is, and what it is used for?

  14. #49
    chachi
    Lazy Git
    chachi's Avatar Become A Pro!
    Join Date: 02-16-07
    Posts: 4,571
    Betpoints: 18

    XML is a universal method of representing tabular data (or any data at all) in a structured yet freeform textual format which can be parsed/displayed by a browser or custom tool.
    Last edited by chachi; 10-18-10 at 09:18 AM.

  15. #50
    Josy
    Josy's Avatar Become A Pro!
    Join Date: 10-12-10
    Posts: 157
    Betpoints: 4727

    Hello chachi,

    That's a good list for a start.
    I accidentially found this one:
    http://linesmaker.com/live_odds/feeds/
    If you will find your old source code and notes and you can post more feeds here it would be highly appreciated.
    Thankx mate.

  16. #51
    chachi
    Lazy Git
    chachi's Avatar Become A Pro!
    Join Date: 02-16-07
    Posts: 4,571
    Betpoints: 18

    Yes the linesmaker setup is good but I prefer to gather direct from the source ...

  17. #52
    Scooter
    Scooter's Avatar Become A Pro!
    Join Date: 01-15-07
    Posts: 1,159
    Betpoints: 2064

    Quote Originally Posted by Scooter View Post
    Is an odds comparison site like oddschecker using XML feeds for all of the books it covers?
    Anyone know the answer to this?

    Instead of XML feeds, are they using HTML filtering which they've programmed for all of these sports at all of these books?

  18. #53
    chachi
    Lazy Git
    chachi's Avatar Become A Pro!
    Join Date: 02-16-07
    Posts: 4,571
    Betpoints: 18

    mixture of both as far as I am aware ... BetGenius is the underlying provider for bestbetting's site and a handful of others

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

    very interesting

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

    Quote Originally Posted by Scooter View Post
    Anyone know the answer to this?

    Instead of XML feeds, are they using HTML filtering which they've programmed for all of these sports at all of these books?
    Most likely, they are scraping the sites rather than relying on an XML feed. XML feeds tend to be delayed when compared to the lines you see on the book's site. The more expensive services (Don Best comes to mind) probably either have an exclusive XML feed or some kind of deal to receive instant updates, or they rely on old fashioned scraping.

  21. #56
    GJMike
    GJMike's Avatar Become A Pro!
    Join Date: 08-11-05
    Posts: 304
    Betpoints: 1134

    When I was at GJUpdate, we had exclusive feeds. It was built right into the sportsbooks system to push us changes as soon as they edited their line in the sportsbook admin screens. Some XMLs you find will be live, some you will find will be delayed.

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

    Quote Originally Posted by GJMike View Post
    When I was at GJUpdate, we had exclusive feeds. It was built right into the sportsbooks system to push us changes as soon as they edited their line in the sportsbook admin screens. Some XMLs you find will be live, some you will find will be delayed.
    Good info, thanks

  23. #58
    chachi
    Lazy Git
    chachi's Avatar Become A Pro!
    Join Date: 02-16-07
    Posts: 4,571
    Betpoints: 18

    Indeed ... cheers for that GJ

  24. #59
    gvigliani
    gvigliani's Avatar Become A Pro!
    Join Date: 12-24-10
    Posts: 1

    Do you know xml feed for the bookmakers BETPIU and DollaroPoker or DollaroPk ?
    Thank'2

  25. #60
    the_mathman
    the_mathman's Avatar Become A Pro!
    Join Date: 01-04-11
    Posts: 312
    Betpoints: 2360

    this is a great thread!

    I love the pinnacle XML file!

  26. #61
    Joe Dogs
    Joe Dogs's Avatar Become A Pro!
    Join Date: 07-20-09
    Posts: 1,931
    Betpoints: 593

    exceptional info

  27. #62
    splash
    splash's Avatar Become A Pro!
    Join Date: 05-25-09
    Posts: 38

    lines.bookmaker.com
    Points Awarded:

    the_mathman gave splash 1 SBR Point(s) for this post.

    Flight gave splash 40 SBR Point(s) for this post.

    jgilmartin gave splash 40 SBR Point(s) for this post.


  28. #63
    jgilmartin
    jgilmartin's Avatar Become A Pro!
    Join Date: 03-31-09
    Posts: 1,119

    Quote Originally Posted by splash View Post
    lines.bookmaker.com
    Holy shit! Is that new?

  29. #64
    splash
    splash's Avatar Become A Pro!
    Join Date: 05-25-09
    Posts: 38

    Quote Originally Posted by jgilmartin View Post
    Holy shit! Is that new?
    No, I used that to learn how to scrape xml about a year ago.

  30. #65
    Flight
    Update your status
    Flight's Avatar Become A Pro!
    Join Date: 01-27-09
    Posts: 1,979

    But how did you find the URL for lines.bookmaker.com?

    No one has mentioned an XML feed for that site before

    That helps me out a lot, thank you

  31. #66
    uva3021
    uva3021's Avatar Become A Pro!
    Join Date: 03-01-07
    Posts: 537
    Betpoints: 381

    Damn bookmaker seems like a bitch to navigate, Pinny's is so easy its a spoon feeding

    I use DOM with js or vb to extract XML, but actually today I decided to start learning python for the sake of resources and speed

  32. #67
    chachi
    Lazy Git
    chachi's Avatar Become A Pro!
    Join Date: 02-16-07
    Posts: 4,571
    Betpoints: 18

    PHP/JSON arrays have some useful methods for XML also

  33. #68
    Flight
    Update your status
    Flight's Avatar Become A Pro!
    Join Date: 01-27-09
    Posts: 1,979

    I use C# - Deserialize direct to object model
    http://msdn.microsoft.com/en-us/library/tz8csy73.aspx

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

    Quote Originally Posted by Flight View Post
    I use C# - Deserialize direct to object model
    http://msdn.microsoft.com/en-us/library/tz8csy73.aspx
    with LINQ, this is a lovely solution.

  35. #70
    chachi
    Lazy Git
    chachi's Avatar Become A Pro!
    Join Date: 02-16-07
    Posts: 4,571
    Betpoints: 18

    I figured most here wouldn't be experts in c# or such a language hence the php suggestion, but yes that is indeed an elegant solution to the headache that is xml

First 1234 Last
Top