VideoHelp Forum

+ Reply to Thread
Results 1 to 16 of 16
Thread
  1. 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
    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" --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
    Youtube-dl
    Code:
    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
    FFMPEG
    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"
    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:
    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?
    Last edited by naturalc; 27th Dec 2020 at 08:03.
    Quote Quote  
  2. 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.
    Quote Quote  
  3. Originally Posted by naturalc View Post

    I have tried with:
    Streamlink
    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" --http-header "Authorization= Bearer XXXXXXXXXXXX" "Referer=https://www. crehana.com/clases/v2/8337" "hlsvariant://https://crehana-videos.akamaized.net/outputs/videostranscoder/48da73c10b3b4fed915aab6cbfe4d0f2/playlist/high/vgeavcqbmg.m3u8" -o output.ts
    For starters your Streamlink syntax won't ever work because you are missing a:

    Code:
    --http-header
    Image
    [Attachment 56451 - Click to enlarge]
    Last edited by codehound; 26th Dec 2020 at 09:48.
    Quote Quote  
  4. 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
    But Streamlink throws a little more strange error, it cannot access the selected m3u8:
    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
    And the high 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.
    Quote Quote  
  5. Originally Posted by naturalc View Post
    You are right. Now I see the list of available formats


    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
    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
    Quote Quote  
  6. Same result. Streamlink reads the m3u8 master, the error is that the Streamlink cannot access the indicated m3u8, best or 1080p or worst
    Quote Quote  
  7. 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"
    Quote Quote  
  8. 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
    Quote Quote  
  9. 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"
    Quote Quote  
  10. Same result, 6 seconds of vid
    Quote Quote  
  11. 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.
    Quote Quote  
  12. Another 6 seconds, but another video
    Quote Quote  
  13. Originally Posted by naturalc View Post
    Another 6 seconds, but another video
    The syntax is good then (now) but we are not getting the correct m3u8 - I'll check back here tomorrow.
    Quote Quote  
  14. Need access.
    Quote Quote  
  15. 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
    Quote Quote  



Similar Threads