PDA

View Full Version : Help downloading graduation video from Uplynk player?


andymosh
09-11-2015, 06:48 AM
I am wanting to download a graduation video and I'm having a bit of trouble, this is the site where the video is displayed:

http://content.uplynk.com/player/5Sr6tUcCEXFowpmMQmPcTZsa.html

I check the network tab in Chrome dev tools and see a few requests, there's an m3u8 file which has a few other m3u8 files in there for different quality settings I imagine.

I eventually got to using ffmpeg (i'm on mac using homebrew) and I ran:

ffmpeg -i "http://content-ause2.uplynk.com/0f5f1ad03b48418eb085efef494426f5/g.m3u8?cid=0f5f1ad03b48418eb085efef494426f5&oid=8ab72384e3aa4ceb8e59b5d2af64e262&exp=1441965617&rn=2970515137&tc=1&ct=a&sig=422fc610d44b535ca11f435af9ae7a770df10ff2ab7357 88b8c8ab6ebf60af64&ad.cping=1&pbs=6efd45ea4baf4ae89702fbfc68bd8ddd" -c copy graduation.mp4

and it returned:

http://i.imgur.com/h191iBv.png

now as for the key, I had another look at the requests in the Network and there is this...

https://content-ause4.uplynk.com/check?b=0f5f1ad03b48418eb085efef494426f5&v=0f5f1ad03b48418eb085efef494426f5&pbs=0f12c23ae4464829bbe702c3c94c4c55

which might be a key? I'm not entirely sure.

If anyone could help me download this I'd be eternally grateful!

slim94
09-11-2015, 06:55 AM
Seems you didn't grab the first m3u8 -- it worked for me doing this:


ffmpeg -i "http://content-ause3.uplynk.com/0f5f1ad03b48418eb085efef494426f5.m3u8?cid=0f5f1ad0 3b48418eb085efef494426f5&oid=8ab72384e3aa4ceb8e59b5d2af64e262&exp=1441976007&rn=2720210071&tc=1&ct=a&sig=aa802ee2cd5105201c68ce3bb7bd358da7472083c46282 1813daf1ac20e196ec&ad.cping=1&referer=content.uplynk.com" -c copy grad.ts

http://puu.sh/k7vb8/3a1175ce69.png

andymosh
09-11-2015, 06:59 AM
Seems you didn't grab the first m3u8 -- it worked for me doing this:


ffmpeg -i "http://content-ause3.uplynk.com/0f5f1ad03b48418eb085efef494426f5.m3u8?cid=0f5f1ad0 3b48418eb085efef494426f5&oid=8ab72384e3aa4ceb8e59b5d2af64e262&exp=1441976007&rn=2720210071&tc=1&ct=a&sig=aa802ee2cd5105201c68ce3bb7bd358da7472083c46282 1813daf1ac20e196ec&ad.cping=1&referer=content.uplynk.com" -c copy grad.ts

http://puu.sh/k7vb8/3a1175ce69.png

I ran the same command and got a

"HTTP error 400 Bad Request"

It wouldn't have anything to do with me running ffmpeg on mac would it?

Edit: I ran the command on my windows machine and got the same 400 request?

http://i.imgur.com/A8R1ROJ.png

biezom
09-11-2015, 07:24 AM
I ran the same command and got a

"HTTP error 400 Bad Request"

It wouldn't have anything to do with me running ffmpeg on mac would it?

Edit: I ran the command on my windows machine and got the same 400 request?

http://i.imgur.com/A8R1ROJ.png

because you can't use the same code
you need use your own code

you can find your own code in the source page code

you must be fast, because the code expires in 30 seconds

exp=1441977260

slim94
09-11-2015, 07:26 AM
because you can't use the same code
you need use your own code

you can find your own code in the source page code

you must be fast, because the code expires in 30 seconds

exp=1441977260

yeah i ran it on ffmpeg and got the stream downloading then went to try in livestreamer and it had already expired.

andymosh
09-11-2015, 07:28 AM
Ah okay, I have to apologize it's the first time I've had to do anything like this, thank-you both for your help, just to clarify it is the url in the requests here:

http://i.imgur.com/qEb6YoR.png

I noticed in slim94's url there is "&referer=content.uplynk.com" at the end where I can't find it in this URL.

Edit: It seems to be working!

http://i.imgur.com/Vs7jyZ8.png

Will ffmpeg choose the best quality stream by default or do I need to specify some options for that? Thanks again the both of you, life savers!

biezom
09-11-2015, 07:49 AM
Ah okay, I have to apologize it's the first time I've had to do anything like this, thank-you both for your help, just to clarify it is the url in the requests here:



I noticed in slim94's url there is "&referer=content.uplynk.com" at the end where I can't find it in this URL.
you sniff with chrome, he sniff with firefox


Edit: It seems to be working!

Will ffmpeg choose the best quality stream by default or do I need to specify some options for that? Thanks again the both of you, life savers!

yes best by default

slim94
09-11-2015, 08:33 AM
you sniff with chrome, he sniff with firefox

yeah i find firefox + httpfox are the best combo for this kind of stuff.

notoriusbig
07-13-2016, 07:22 AM
Hi All

I am also struggling download graduation from this link

http://content.uplynk.com/player/BpmB0f7ehBdPeYqB0Z6zQea.html

tried the above but its not working. Any help appreciated.

notoriusbig