2007-12-29, 13:37
I'm not a Phython programmer either, but I'm damn sure I could take an existing script and work out enough to create an iPlayer version. What I want to know, and what would save me loads of hacking time, is how do I find out the URL of the actual stream?
I've found the config and metadata XML files, but the actual TCP traffic of the stream and the request for the stream appears encrypted to me (or maybe I'm looking in the wrong place).
My understanding so far is:
- You go to a programme's page (ID in the URL)
- Programme metadata and a general app config XML is requested (URLs passed to the flash as flashvars)
- You get back the streaming server location, an identifier and a token for the media
... oh crap, that's the key that Phil was talking about, isn't it?
So according to Phil's thing this is then constructed into a URL by the flash player of the form:
rtmp://217.243.192.52:1935/ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=SECRET_KEY&aifp=v001&slist=STREAM_NAME
OK! It's the rtmp part that just doesn't show up as anything useful in Wireshark.
...and I can't seem to construct a URL that will work in Mplayer. Can mplayer even open RTMP streams?
I've found the config and metadata XML files, but the actual TCP traffic of the stream and the request for the stream appears encrypted to me (or maybe I'm looking in the wrong place).
My understanding so far is:
- You go to a programme's page (ID in the URL)
- Programme metadata and a general app config XML is requested (URLs passed to the flash as flashvars)
- You get back the streaming server location, an identifier and a token for the media
... oh crap, that's the key that Phil was talking about, isn't it?
So according to Phil's thing this is then constructed into a URL by the flash player of the form:
rtmp://217.243.192.52:1935/ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=SECRET_KEY&aifp=v001&slist=STREAM_NAME
OK! It's the rtmp part that just doesn't show up as anything useful in Wireshark.
...and I can't seem to construct a URL that will work in Mplayer. Can mplayer even open RTMP streams?