Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Need some help or guidance on downloading this stream...Hi guys,
I feel like I've tried everything, and maybe it's not event possible, but I'm attempting to download the following stream: http://www.mitele.es/programas-tv/pa...98b4908/player I can see it's hosted on the AkamaiHD network, and have been using Chrome's developer tools to watch the URL's being accessed. There seems to be a regular verify XHR call then followed by a few XHR's which appear to be TS video segments. I can take one of those URLs and download a very small part of the video, however I'm struggling to find a way to download them all and combine them; maybe someone here has seen something similar (I did search the forums but maybe my choice of words are wrong). Here is the verify call: Request URL:http://l.ooyala.com/verify Request Method:POST Status Code:200 OK Remote Address:54.72.254.237:80 Response Headers Cache-Control:no-cache Connection:close Date:Sun, 19 Feb 2017 13:39:48 GMT Expires:Sun, 19 Feb 2017 13:39:47 GMT Server:nginx/1.4.7 Transfer-Encoding:chunked Request Headers view source Accept:*/* Accept-Encoding:gzip, deflate Accept-Language:en-US,en;q=0.8 Connection:keep-alive Content-Length:0 Cookie:gi=guid:ef8PplHrGJVIF6bbzeDl2xc8gVS+ZRc1rbL YJoFkT/E; key_auth0=bfWIQyqTjKy0gJJZe3RYeXjJI-LMkCbF51vBBdZcEBJahKKjaR3CdYFZWS-Qy9_9CUC924OYG3Eg8QkV2B1_Ep1f_-xumlwPdIHz44-05PCMe1AImvNdQDJXG_AOcTxv2gsVAnAT4_bHe8xkyGHD7n9Mr Ez0DRHDWM5Oec38kzEEO2h8p4QdfrdVZ2A_l-qExyzKTcYWFTT0QEhSCUMYEA%3D%3D Host:l.ooyala.com Origin:http://l.ooyala.com Referer:http://l.ooyala.com/analytics/iframe.html User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 X-Verify:AwABAgwAFQsAAQAAAEBYSjlJQmJJTUtWWXlBNVdKY0E 3dUt4YmJPLzI2RUZwNThrOWVQcm5BWHpmYVhIRGtXVEsreTQrW DF5L01iMDBCAwALAwAIAAhYqaAiBgAJ/8QLAAQAAAArcWpIVkxKYVFsbjZTTnhtaExuMjRRUkVMdk83a0p mSjhpSktoRjUydDFFNAsABgAAAE1odHRwOi8vd3d3Lm1pdGVsZ S5lcy9wcm9ncmFtYXMtdHYvcGFzYXBhbGFicmEvNThhNjMyYmV jODE1ZGFhNjA5OGI0OTA4L3BsYXllcggAB1ipnboPAAoLAAAAA wAAAAFvAAAAHHRzYm1ZeU9qUkg2ZEszcm1HeGVUUDJ1bGVVal8 AAAAgUXdhbXgwT1RFNjJTTHdkOW42dUVJc0cyQUFuWlVIWkkPA BQMAAAAAwMAAQEAAwABBQADAAECAwACAQAPABgLAAAAAA8ADAg AAAADAAAAAAAAAAQAAAAEDwALDAAAAAEPAAsDAAAAAwABAgMAA ggIAA0AACgMDQAfAwgAAAABAgAHyNYIACEAAABXAAMAEQEDABI CAwAPBAIAFwAPABoMAAAAAA8AHAgAAAAACwAdAAAAIDM5NDEyY mIwZDYyZDQxMjM5ZWQ1ZTRjZDA0OGQ3MGE2CgAeAAABWlaQIAk KAB8ABPKwHmZdSwoAIQAAAVpWmYPSAA==&sig=w7zZ3lD3fosH 1grRgC7f&crc=2985195870 As you can see there seems to be an X-Verify header, which I suppose is then used in some way for the segment requests. This would then be a sample segment URL: http://miteleooyala-vh.akamaihd.net/...7c11084f865543 Any help, or guidance on software of scripts that could help would be much appreciated. P.S. I'm using macOS. Thanks guys, Cheers, D. |
#2
|
|||
|
|||
Re: Need some help or guidance on downloading this stream...Hi,
just look for the master m3u8 link in browser console and have a look into its content and there you can see diffrent streamlinks (6 in your case) with diffrent resolutions etc.Just pick on of them like the HD one and now you can use this link with Streamlink tool to watch or download all segments into one file.Just try this. Code:
streamlink.exe -ldebug HLS://http://miteleooyala-vh.akamaihd.net/i/...../index_2_av.m3u8?null=0 best -o 12345.mp4 greetz |
#3
|
|||
|
|||
Re: Need some help or guidance on downloading this stream...@troller12 thank you so so much! You're a legend!
I was getting close (I had found the master.m3u8), but just wasn't sure where to go from there. I'm now going to script something to grab the master.m3u8 and try to automate the download now that I've managed to obtain one! For anyone interested. This stream was using ooyala.com and akamaihd.net. I manually installed streamlink from https://github.com/streamlink/streamlink for macOS Sierra: $ git clone https://github.com/streamlink/streamlink $ cd streamlink $ sudo python setup.py install I used Firefox developer tools to find the master.m3u8 file, and from there selected the link with the highest resolution. I used the command template: $ streamlink -o program1.mp4 <URL-from-master.m3u8> best Example: $ streamlink -o 12345.mp4 hls://http://miteleooyala-vh.akamaihd.net/i/Qwamx0OTE62SLwd9n6uEIsG2AAnZUHZI/,DOcJ-FxaFrRg4gtDEwOjkzOjBhOwBM4Z,DOcJ-FxaFrRg4gtDEwOm84OjBrOz0bxa,DOcJ-FxaFrRg4gtDEwOjEwYjowODE7je,DOcJ-FxaFrRg4gtDEwOjFsaTowODE7WX,DOcJ-FxaFrRg4gtDEwOjI5cDowODE7AZ,DOcJ-FxaFrRg4gtDEwOjRpOmc3O_GF-z,.csmil/index_4_av.m3u8?null=0 best |
#4
|
|||
|
|||
Re: Need some help or guidance on downloading this stream...@nastypasty,
Have you tried Video DownloadHelper add-on for Firefox? I think it's an easy way to get urls, m3u8 or to download. |
#5
|
|||
|
|||
Re: Need some help or guidance on downloading this stream...@nasty
Use youtube-dl. It gives you mp4 download. No need to be messing around with m3u8 nonsense. |
#6
|
|||
|
|||
Re: Need some help or guidance on downloading this stream...Thanks @JonDough and @lajvguy for the suggestions!
Much easier! Never knew such plugins/apps existed! |
Tags: akamai, segements, stream |
Thread Tools | |
Display Modes | |
|
|