Hello experts,
I am trying to download a free course. If you need some credentials because you don't want to register, I'll send them to you privately. The links refer to a course, but they are for any of this page: https://www.domain.com/es/cursos-gratis/ For example:
https://www.domain.com/es/cursos-online-ilustracion-digital/introduccion-a-adobe-illustrator/ Or the direct link to the course display https://www.domain.com/clases/v2/9837/
The m3u8 master of the first video is https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2...geavcqbmg.m3u8
And the high profile is https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2...7-high_v4.m3u8
I have tried with:
Streamlink
Youtube-dlCode:streamlink --http-header "User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66" --http-header "Authorization= Bearer XXXXXXXXXXXX" "Referer=https://www. domain.com/clases/v2/8337" "hlsvariant://https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/playlist/high/vgeavcqbmg.m3u8" -o output.ts
FFMPEGCode:youtube-dl "https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/playlist/high/vgeavcqbmg.m3u8" --add-header "Referer=https://www.domain.com/clases/v2/8337" --add-header "Authorization: Bearer XXXXXXXXXXXXXX" --force-generic-extractor -o HLS.mp4
I have changed the links to the desired profile, high, and removing the best options, but I have not been successful either. The errors that appear are:Code:ffmpeg.exe -i https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/playlist/high/vgeavcqbmg.m3u8 -map 0 -c output.ts -headers "User-Agent: Mozilla/5. 0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36" -headers "Authorization: Bearer XXXXXXXXXXXX"
- Streamlink: No plugin can handle URL: Referer=https://www.domain.com/clases/v2/8337
- Youtube-dl and FFMPEG: HTTP error 400 Bad Request, Unable to open key file https://www.domain.com/keys/videos/33364/9837/48da73c10b3b4fed915aab6cbfe4d0f2/
I have manually accessed the key url and it works, it shows a short code with binary characters. Can you help me to know why it doesn't work or what tests should I do?
+ Reply to Thread
Results 1 to 29 of 29
-
Last edited by naturalc; 27th Dec 2020 at 08:03.
-
Oh, I'm so sorry. I have the free course on my account, but it has been withdrawn. I'm updating the post to put other links.
-
For starters your Streamlink syntax won't ever work because you are missing a:
Code:--http-header
[Attachment 56451 - Click to enlarge]Last edited by codehound; 26th Dec 2020 at 09:48.
-
You are right. Now I see the list of available formats
Code:streamlink https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/playlist/high/vgeavcqbmg.m3u8 best --http-header "User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66" --http-header "Authorization= Bearer XXXXXXXXXXXXX" --http-header "Referer=https://www.domain.com/" -o output.ts
Code:[cli][error] Try 1/1: Could not open stream <HLSStream('https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-400k_v4.m3u8', 'https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/playlist/high/vgeavcqbmg.m3u8')> (No data returned from stream) error: Could not open stream <HLSStream('https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-400k_v4.m3u8', 'https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/playlist/high/vgeavcqbmg.m3u8')>, tried 1 times, exiting [cli][info] Closing currently open stream... [End of Streamlink for Windows with ExitCode 1]
The master m3u8:
Code:#EXTM3U #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Espanol",LANGUAGE="es",AUTOSELECT=YES,DEFAULT=NO,URI="https://s3.amazonaws.com/videos.domain.com/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/subtitles/es/prog_index.m3u8" #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-0",NAME="Default",AUTOSELECT=YES,DEFAULT=YES,URI="https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-audio_v4.m3u8" #EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=24610000,CODECS="avc1.4d001f",URI="https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-medium_iframe.m3u8" #EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=46201000,CODECS="avc1.4d001f",URI="https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-high_iframe.m3u8" #EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=3515000,CODECS="avc1.42001e",URI="https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-400k_iframe.m3u8" #EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=10457000,CODECS="avc1.4d001e",URI="https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-low_iframe.m3u8" #EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=6175000,CODECS="avc1.42001e",URI="https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-600k_iframe.m3u8" #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2185000,RESOLUTION=1280x720,CODECS="avc1.4d001f,mp4a.40.2",AUDIO="audio-0",SUBTITLES="subs" https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-medium_v4.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=3142000,RESOLUTION=1920x1080,CODECS="avc1.4d001f,mp4a.40.2",AUDIO="audio-0",SUBTITLES="subs" https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-high_v4.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=597000,RESOLUTION=400x224,CODECS="avc1.42001e,mp4a.40.2",AUDIO="audio-0",SUBTITLES="subs" https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-400k_v4.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1521000,RESOLUTION=640x360,CODECS="avc1.4d001e,mp4a.40.2",AUDIO="audio-0",SUBTITLES="subs" https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-low_v4.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=886000,RESOLUTION=480x270,CODECS="avc1.42001e,mp4a.40.2",AUDIO="audio-0",SUBTITLES="subs" https://domain.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/450026bac3dd40eba2f9f806f2f1c537-600k_v4.m3u8
Code:#EXTM3U #EXT-X-VERSION:4 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-ALLOW-CACHE:YES #EXT-X-TARGETDURATION:7 #EXTINF:6.006, #EXT-X-BYTERANGE:828336@0 #EXT-X-KEY:METHOD=AES-128,URI="https://www.domain.com/keys/videos/33364/9837/48da73c10b3b4fed915aab6cbfe4d0f2/",IV=0x37386633376131366334663364616336 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXTINF:6.006, #EXT-X-BYTERANGE:2214464 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXTINF:6.0059999999999985, #EXT-X-BYTERANGE:1579024 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXTINF:6.006, #EXT-X-BYTERANGE:1519808 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXTINF:6.006, #EXT-X-BYTERANGE:1536720 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXTINF:6.006, #EXT-X-BYTERANGE:1511904 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXTINF:6.006, #EXT-X-BYTERANGE:1560032 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXTINF:6.006, #EXT-X-BYTERANGE:1519984 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXTINF:6.006, #EXT-X-BYTERANGE:1559280 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXTINF:6.006, #EXT-X-BYTERANGE:1465472 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXTINF:6.005999999999993, #EXT-X-BYTERANGE:1632976 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXTINF:6.006, #EXT-X-BYTERANGE:785104 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXTINF:1.0010000000000048, #EXT-X-BYTERANGE:16176 450026bac3dd40eba2f9f806f2f1c537-high.ts #EXT-X-ENDLIST
Last edited by naturalc; 27th Dec 2020 at 08:02.
-
Surround your m3u8 in quotes ""
Code:streamlink "https://crehana-videos.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/playlist/high/vgeavcqbmg.m3u8" best --http-header "User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66" --http-header "Authorization= Bearer XXXXXXXXXXXXX" --http-header "Referer=https://www.crehana.com/" -o output.ts
-
Same result. Streamlink reads the m3u8 master, the error is that the Streamlink cannot access the indicated m3u8, best or 1080p or worst
-
I'm on my mobile, so cant properly help...
Try this:
Code:streamlink --http-header "User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66" "https://crehana-videos.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/playlist/high/vgeavcqbmg.m3u8" best -o "output.ts" --http-header "authorization=XXXX"
-
On your phone, but you've got more than me in two days on a PC. Oh yes, you succeeded, I am trying to see the differences between your command and mine. But it only downloads 6 seconds of video, and it has 74
-
Getting somewhere then
6 seconds? Which 6 seconds ? End / middle / start ? Maybe a connection error? Try same syntax again.
If it persists try this:
Code:streamlink --hls-live-restart --http-header "User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66" "https://crehana-videos.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/playlist/high/vgeavcqbmg.m3u8" best -o "output.ts" --http-header "authorization=XXXX"
-
Try this m3u8 I found, altho could be unique to me - if someone doesnt come on and solve this, I will have a look tomorrow from my PC.
Code:https://crehana-videos.akamaized.net/outputs/videostranscoder/3332440cc4da4051857658da32a3f369/playlist/high/jgisojnbfe.m3u8
Last edited by codehound; 26th Dec 2020 at 11:09.
-
-
Thanks to those of you who participated and those of you who contacted me. The process has been really simple, more than I thought and assumed. At the moment everything is working as expected. I have found some m3u8 that does not work because it indicates that it is audio but below the first lines it puts the resolutions of the videos. In any case this m3u8 are few cases, at the moment; if it comes to increase I will ask again for your wisdom and experience
-
Hi guys.
It seems like I have a more complicated case. I'm trying to download a video from https://web3.wb.com/warnermedia/movieverse
Click on WATCH TRAILER to open the video. m3u8 playlist cannot be downloaded because of "authorization header missing". This is the link to it:
https://host-154-14-240-131.contentfabric.io/qlibs/ilibmDAMX11myzYPBC9vk2shWZYgZSc/q/h...d=BF5B23C04336
What is the way to download the video? -
streamlink --http-header Authorization="Bearer eyJxc3BhY2VfaWQiOiJpc3BjMlJVb1JlOWVSMnYzM0hBUlFVVl NwMXJZWHp3MSJ9" "https://host-76-74-34-196.contentfabric.io/qlibs/ilibmDAMX11myzYPBC9vk2shWZYgZSc/q/hq__9Bg5pjMK35sqxXZvDBiQmec1WppnXSNbvdNWShAu5WjGE4 6vqpaX89FjkTgNoHrKmX1yQH1iUr/rep/playout/default/hls-clear/playlist.m3u8?resolve=true&sid=56B1F981BF4C" best -o video.ts
[cli][info] Found matching plugin hls for URL https://host-76-74-34-196.contentfabric.io/qlibs/ilibmDAMX11myzYPBC9vk2shWZYgZSc/q/hq_...d=56B1F981BF4C
[cli][info] Available streams: 360p_alt (worst), 360p, 432p, 540p, 720p, 1080p (best)
[cli][info] Opening stream: 1080p (hls-multi)
[cli][info] Writing output to
a.ts
[utils.named_pipe][info] Creating pipe streamlinkpipe-5616-1-6
[utils.named_pipe][info] Creating pipe streamlinkpipe-5616-2-9404
[download] Written 67.92 MiB (16s @ 4.25 MiB/s) ... -
Search for authorization
copy your auth code
Example: This is a request with the authorization in
Code:https://host-154-14-211-101.contentfabric.io/qlibs/ilib2GdaYEFxB7HyLPhSDPKMyPLhV8x9/q/hq__FSvyCKtJYn8itBSvtVYR7Sh68STYXpyqi6yTiNeMEDU7mR5y2KNXMNtSiCmjnQETJJKUMAmx8K/meta/public/asset_metadata/tenants/warnermedia/sites/movieverse/info/promo_videos/0/video/sources/default?authorization=YOURCODEWILLBEHERE&resolve=true
Should look like this in the end
Code:https://host-154-14-240-131.contentfabric.io/qlibs/ilibmDAMX11myzYPBC9vk2shWZYgZSc/q/hq__9Bg5pjMK35sqxXZvDBiQmec1WppnXSNbvdNWShAu5WjGE46vqpaX89FjkTgNoHrKmX1yQH1iUr/rep/playout/default/hls-clear/video/videovideo_1280x720@4500000/playlist.m3u8?authorization=YOURCODEWILLBEHERE?resolve=true&sid=BF5B23C04336
I help all that ask. -
The problem is that I cannot start Streamlink because it says api-ms-win-core-path-l1-1-0.dll is missing even though I have MS Visual C++ 2015 libraries installed. When I downloaded the file and placed it into the program folder I started getting this error code 0xC000007B. I'm using Win7, so it looks like I have compatibility problems. Moreover the file itself is intended for Win8. The latest compatible version of Streamlink is 2.3, but after trying to run the command it says that there's no plugin for handling it.
Is there any other way to download the video? Is ffmpeg capable of doing it? -
Have you try to install streamlink via pip ?
Open a command prompt
pip install streamlink -
Ok, just did that. But when running the command to download the video, it's saying "streamlink: error: unrecognized arguments: --rtmpdump=C:\Streamlink\rtmpdump\rtmpdump.exe". I had my previous streamlink installed in the drive root, but the error persists even after uninstalling it.
What do I do?
By the way, was the downloaded video with sound? -
look at this thread
https://github.com/streamlink/streamlink-twitch-gui/issues/842 -
Thanks, but now I'm getting this "error: No plugin can handle URL". The http plugin exists in the plugins folder so what could be the cause?
-
I was able to fix the previous problem thanks to cedric8528, but now I'm facing another one which I'm asking to help me with
Last edited by remdale; 24th Oct 2022 at 12:49.
-
I found a working command for myself
Code:yt-dlp "https://host-154-14-240-131.contentfabric.io/qlibs/ilibmDAMX11myzYPBC9vk2shWZYgZSc/q/hq__9Bg5pjMK35sqxXZvDBiQmec1WppnXSNbvdNWShAu5WjGE46vqpaX89FjkTgNoHrKmX1yQH1iUr/rep/playout/default/hls-clear/playlist.m3u8?resolve=true&sid=BF5B23C04336" --add-header "Authorization: Bearer eyJxc3BhY2VfaWQiOiJpc3BjMlJVb1JlOWVSMnYzM0hBUlFVVlNwMXJZWHp3MSJ9"
-
i was able to record the channel. only now appears erro 403. did sonething change in the link? i have the key
call in pm and i'll pass the link abde acessLast edited by jonatasants; 28th Oct 2022 at 08:12.
Similar Threads
-
download mp4 from hls.js
By farafero21 in forum Video Streaming DownloadingReplies: 9Last Post: 1st Feb 2020, 07:54 -
Download HLS Video with Sound?
By jm170120 in forum Video Streaming DownloadingReplies: 1Last Post: 16th Jul 2019, 01:15 -
Download HLS streaming video...
By Leo75 in forum Video Streaming DownloadingReplies: 0Last Post: 25th Jul 2017, 13:54 -
Error in Download of Stream with ffmpeg HLS
By 4lb3rt0 in forum Video Streaming DownloadingReplies: 0Last Post: 25th Sep 2016, 09:11 -
Download HLS video with FFMPEG
By capples3 in forum Video Streaming DownloadingReplies: 0Last Post: 29th Jan 2016, 16:37