Hi All,

I'm trying to write a script to reliably acquire an F4M URL so I can run a batch file and have it automatically record with livestreamer. When I load the video in my browser and use the 'hds link detector' addon I can come up with an F4M URL that records fine but it has a bunch of authentication data in it that expires at the end of every session, what I'm hoping to be able to do is obtain a valid URL without having to browse to the video in my browser.

Here's the link to the video stream I'm after: http://www.cbc.ca/player/LiveStreams/News/ID/2632113013/

And this is a sample of the F4M link I get: http://cbcnewshd-f.akamaihd.net/z/cbcnews_11@141597/manifest.f4m?hdnea=ip=x.x.x.x~st=1...Y&hdcore=3.5.0

I'm not opposed to writing a PHP or Batch script to parse a JS or XML file to extract the URL.

Any ideas?