Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 02-19-2017, 07:44 AM
nastypasty nastypasty is offline
Junior Member
 
Join Date: Feb 2017
Posts: 3
nastypasty is on a distinguished road
Default

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.
Reply With Quote
  #2  
Old 02-19-2017, 11:26 AM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

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
So for this links inside the playlist you dont need to have any special access like to master playlist itself.

greetz
Reply With Quote
  #3  
Old 02-19-2017, 12:57 PM
nastypasty nastypasty is offline
Junior Member
 
Join Date: Feb 2017
Posts: 3
nastypasty is on a distinguished road
Thumbs up

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
Reply With Quote
  #4  
Old 02-19-2017, 01:58 PM
lajvguy lajvguy is offline
Senior Member
 
Join Date: Nov 2014
Posts: 203
lajvguy is on a distinguished road
Default

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.
Reply With Quote
  #5  
Old 02-19-2017, 06:36 PM
JonDough JonDough is offline
Member
 
Join Date: Feb 2016
Posts: 90
JonDough is on a distinguished road
Default

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.
Reply With Quote
  #6  
Old 02-20-2017, 05:36 AM
nastypasty nastypasty is offline
Junior Member
 
Join Date: Feb 2017
Posts: 3
nastypasty is on a distinguished road
Thumbs up

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!
Reply With Quote
Reply Post New Thread
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 06:52 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons