How to display the COLOURS_FILENAME image?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MonsieurD
    Junior Member
    • Feb 2014
    • 3

    #1

    How to display the COLOURS_FILENAME image?

    What is the source URL of the COLOURS_FILENAME (silk color) image?
    I have the file name itself from the listMarketCatalogue call but slapping it onto the end of several possible URL's returns a bad request response..
  • gus
    Senior Member
    • Jan 2009
    • 134

    #2
    Code:
    http://content-cache.betfair.com/feeds_images/Horses/SilkColours/
    does it from me, e.g:

    http://content-cache.betfair.com/fee...u/00072332.jpg

    Comment

    • MonsieurD
      Junior Member
      • Feb 2014
      • 3

      #3
      many thanks, did the trick..

      Comment

      • HansLindgren
        Junior Member
        • Nov 2011
        • 1

        #4
        Thank you! Most helpful.

        Comment

        • tretonis
          Junior Member
          • Aug 2015
          • 18

          #5
          Originally posted by gus View Post
          Code:
          http://content-cache.betfair.com/feeds_images/Horses/SilkColours/
          does it from me, e.g:

          http://content-cache.betfair.com/fee...u/00072332.jpg

          example name file into RUNNER_METADATA is saddle_6.gif

          http://content-cache.betfair.com/fee...u/saddle_6.gif

          display error
          The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

          c20140211sou ---> is other value ?

          thanks

          Comment

          • jabe
            Senior Member
            • Dec 2014
            • 705

            #6
            I just right-clicked one in a race and got similar.

            https://content-cache.cdnbf.net/feed...d/00082079.jpg

            So, let's have a look at that odd thing.

            First up: c20170516sed

            Today is 2017-05-16 and the course is Sedgefield.

            Got one from Chepstow and the thing was this: c20170516chp
            Got one from Warwick and it was this: c20170516war

            So. The extra level is "c" + date(YYYYMMDD) + 3-character course abbreviation.

            sed for Sedgefield, chp for Chepstow, war for Warwick. I don't know what the others are, but perhaps you can find out and save them in your program.

            No idea how long the images will remain there after the day of the race.

            Comment

            Working...
            X