Hello,
I've tried for hours to get this to work, but not really having any luck.
The URL is here:
HTML Code:https://dbq3da34mdptq.cloudfront.net/HLS/production/d93221ee-a458-4d8d-9244-c8c8d07c5e6b.m3u8?Expires=1631389939&Signature=O1e9meygKJ88j6Kwm~crf1KAHO5GC0MYXMj4HzlftzgfvYZkmgeIjoq1QF4FOJvE7TCTEMnwZNRR4b-~sXJxu3MzSIP-qVJcPNbn-DSIbJQ86gVkwOmEt4wv6mugN~5aFxVzkfSWruuwz5VHgDDjbiRrBESpqbXguRoFNmIg~fIqkNBGd5PmJREh7oRM-WeBiXHolA5JJzmTonZu~F-JxcD~OPTHGMSALK2VARNVlxr3bvQdQa3hbgi9WV~hwsofDVjBBWYJgjeYZPKf~T1QXRS8qdSgrmaE9Pp4dkvtFlDH5OHiLTPnEP-4-tNgSDTGeHmD7QEE3uq9-E6FlU4V~A__&Key-Pair-Id=APKAIT7ACLZQMDFJXCBQ
https://olympus.greatlearning.in is the actual website.
I've tried following this: https://github.com/ytdl-org/youtube-dl/issues/22868 with no luck. and this is the command I used:
The videos are locked behind a login, and I'm happy to provide the login credentials if someone can guide me on getting the first video downloaded.Code:youtube-dl --hls-prefer-native --cookies cookies.txt --referer https://olympus1.greatlearning.in/ https://dbq3da34mdptq.cloudfront.net/HLS/production/d93221ee-a458-4d8d-9244-c8c8d07c5e6b.m3u8?Expires=1631389939&Signature=O1e9meygKJ88j6Kwm~crf1KAHO5GC0MYXMj4HzlftzgfvYZkmgeIjoq1QF4FOJvE7TCTEMnwZNRR4b-~sXJxu3MzSIP-qVJcPNbn-DSIbJQ86gVkwOmEt4wv6mugN~5aFxVzkfSWruuwz5VHgDDjbiRrBESpqbXguRoFNmIg~fIqkNBGd5PmJREh7oRM-WeBiXHolA5JJzmTonZu~F-JxcD~OPTHGMSALK2VARNVlxr3bvQdQa3hbgi9WV~hwsofDVjBBWYJgjeYZPKf~T1QXRS8qdSgrmaE9Pp4dkvtFlDH5OHiLTPnEP-4-tNgSDTGeHmD7QEE3uq9-E6FlU4V~A__&Key-Pair-Id=APKAIT7ACLZQMDFJXCBQ
Thanks
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 30 of 41
-
-
Try with this
Code:youtube-dl --hls-prefer-native --cookies cookies.txt --referer https://olympus1.greatlearning.in/ --add-header "Expires:1631389939" --add-header "Signature:O1e9meygKJ88j6Kwm~crf1KAHO5GC0MYXMj4HzlftzgfvYZkmgeIjoq1QF4FOJvE7TCTEMnwZNRR4b-~sXJxu3MzSIP-qVJcPNbn-DSIbJQ86gVkwOmEt4wv6mugN~5aFxVzkfSWruuwz5VHgDDjbiRrBESpqbXguRoFNmIg~fIqkNBGd5PmJREh7oRM-WeBiXHolA5JJzmTonZu~F-JxcD~OPTHGMSALK2VARNVlxr3bvQdQa3hbgi9WV~hwsofDVjBBWYJgjeYZPKf~T1QXRS8qdSgrmaE9Pp4dkvtFlDH5OHiLTPnEP-4-tNgSDTGeHmD7QEE3uq9-E6FlU4V~A__" --add-header "Key-Pair-Id:APKAIT7ACLZQMDFJXCBQ" "https://dbq3da34mdptq.cloudfront.net/HLS/production/d93221ee-a458-4d8d-9244-c8c8d07c5e6b.m3u8?Expires=1631389939&Signature=O1e9meygKJ88j6Kwm~crf1KAHO5GC0MYXMj4HzlftzgfvYZkmgeIjoq1QF4FOJvE7TCTEMnwZNRR4b-~sXJxu3MzSIP-qVJcPNbn-DSIbJQ86gVkwOmEt4wv6mugN~5aFxVzkfSWruuwz5VHgDDjbiRrBESpqbXguRoFNmIg~fIqkNBGd5PmJREh7oRM-WeBiXHolA5JJzmTonZu~F-JxcD~OPTHGMSALK2VARNVlxr3bvQdQa3hbgi9WV~hwsofDVjBBWYJgjeYZPKf~T1QXRS8qdSgrmaE9Pp4dkvtFlDH5OHiLTPnEP-4-tNgSDTGeHmD7QEE3uq9-E6FlU4V~A__&Key-Pair-Id=APKAIT7ACLZQMDFJXCBQ"
-
This throws an SSL error.
Code:youtube-dl --hls-prefer-native --cookies cookies.txt --referer https://olympus1.greatlearning.in/ --add-header "Expires:1631428683" --add-header "Signature:OkMjCiQvNuqG3h9S1uo4KAnBDHeNPP7sXuWPK7AcB1zEBc4hUWjqbWGWovSa6Ni9OdcEO3ifHpojKOmGiiujimZyEl0qJDv9Ok9OstAhDk8ykVuAqBKI8XB-VDCYlahgg2oT1NepFeZidJhRyRUGbogeR8kQae3f10Y391wXDxEVuVjJJ5WT4SGULpsv231JVzwZJH8YyOOrOjsbdX80xBjcMrjfVg2Moico~VKQWBPFZ3K6tCEOR9ODoy12AZbTSt7CVbdiMYB-ryd04-ig1uyaS64UeInhmRmOQuN0PCg00jU6QGDBPTnvK2Zl-~Ybu~q5jqMjkw1M-dDiNLn6AA__" --add-header "Key-Pair-Id:APKAIT7ACLZQMDFJXCBQ" "https://dbq3da34mdptq.cloudfront.net/HLS/production/2141cf0a-dcba-462c-9ef6-07206a2e2f9e.m3u8?Expires=1631428683&Signature=OkMjCiQvNuqG3h9S1uo4KAnBDHeNPP7sXuWPK7AcB1zEBc4hUWjqbWGWovSa6Ni9OdcEO3ifHpojKOmGiiujimZyEl0qJDv9Ok9OstAhDk8ykVuAqBKI8XB-VDCYlahgg2oT1NepFeZidJhRyRUGbogeR8kQae3f10Y391wXDxEVuVjJJ5WT4SGULpsv231JVzwZJH8YyOOrOjsbdX80xBjcMrjfVg2Moico~VKQWBPFZ3K6tCEOR9ODoy12AZbTSt7CVbdiMYB-ryd04-ig1uyaS64UeInhmRmOQuN0PCg00jU6QGDBPTnvK2Zl-~Ybu~q5jqMjkw1M-dDiNLn6AA__&Key-Pair-Id=APKAIT7ACLZQMDFJXCBQ" [generic] 2141cf0a-dcba-462c-9ef6-07206a2e2f9e: Requesting header [generic] 2141cf0a-dcba-462c-9ef6-07206a2e2f9e: Downloading m3u8 information [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 54 [download] Destination: 2141cf0a-dcba-462c-9ef6-07206a2e2f9e-2141cf0a-dcba-462c-9ef6-07206a2e2f9e.mp4 [download] 1.9% of ~12.43MiB at Unknown speed ETA Unknown ETAERROR: unable to download video data: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
ERROR: Incorrect AES key length (6272 bytes) -
Try adding --no-check-certificate for youtube-dl
-
No, I was guided by my experience (?) with these type of links.
Hmm I'm not sure what could be the problem. Maybe another header or query string are missing, or it's due to some kind of encryption that youtube-dl and yt-dlp do not support.
You could try with Streamlink, although it probably throws the same error.
Code:streamlink --http-header "User-Agent=x" --http-header "Referer=https://olympus1.greatlearning.in/" --http-no-ssl-verify --http-query-param "Expires=x" --http-query-param "Signature=x" --http-query-param "Key-Pair-Id=x" ".m3u8" best -o output.ts
-
Yes, throws the same error.
ValueError: Incorrect AES key length (6272 bytes)
I'm not sure which 6272 bytes are referred in these errors.
In the m3u8 there's this in key
Code:#EXT-X-KEY:METHOD=AES-128,URI="https://olympus1.greatlearning.in/api/v1/hls_videos/token/865ee0eb-f207-4577-9db5-835ec2b2d703",IV=0xab05a03a37e94beab5d4e7be5a7562bb
-
I found this here
Neither a Streamlink, nor a plugin issue. The site is using an invalid key according to the HLS specification, simple as that.
Take a look at the HLS playlist:
HTML Code:$ curl -sSL 'https://d1tlsva54vi89q.cloudfront.net/b67e8bb3-8ac6-4dae-bb89-3d6ebf3df59c/master_Ott_Hls_Ts_Avc_Aac_16x9_1920x1080p_30Hz_8500Kbps.m3u8' \ | head -n8 #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:13 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PLAYLIST-TYPE:VOD #EXT-X-KEY:METHOD=AES-128,URI="https://chartchampions.com/wp-admin/admin-ajax.php?action=s3bubble_proxy",IV=0x00000000000000000000000000000001 #EXTINF:12, master_Ott_Hls_Ts_Avc_Aac_16x9_1920x1080p_30Hz_8500Kbps/00000/master_Ott_Hls_Ts_Avc_Aac_16x9_1920x1080p_30Hz_8500Kbps_00001.ts
HTML Code:$ curl -sSL 'https://chartchampions.com/wp-admin/admin-ajax.php?action=s3bubble_proxy' eyJwYXNzcGhyYXNlIjoiNjA4MWI4OTNkODY3YiIsImNpcGhlcnRleHQiOiI3RVBKVjJkUTBzRlwvOVZrdEJsaTRRc0ZFVWJlOFdjXC9iMkc3d3NrV21QMlJuaTFDS1lNRU93S0laRGk5OHBYUEIiLCJpdiI6IjI0MDk1NDkyNTgzZWM3MjVhZTEzOWQ5ZWU4N2M5NDZjIiwic2FsdCI6ImY0ZWFlYWM5MmJmN2NkZDFmMTczY2JkYzA2NDY5Yjc0In0=
HTML Code:$ curl -sSL 'https://chartchampions.com/wp-admin/admin-ajax.php?action=s3bubble_proxy' | base64 -d {"passphrase":"6081b8b7173c1","ciphertext":"vzgVIAXHBIAtvBHSQr4\/\/uFz5u2spkgnTZK3vUq7GcVhU0CZyHY+UR+bW9Kls+iP","iv":"cd41e12b3e8e48f70afc6dc4d7cc9d04","salt":"437f1f379984e135bb1c6d8c4a2c615b"}
https://streamlink.github.io/cli.html#cmdoption-hls-segment-key-uri
Code:streamlink --http-header "User-Agent=x" --http-header "Referer=https://olympus1.greatlearning.in/" --http-no-ssl-verify --http-query-param "Expires=x" --http-query-param "Signature=x" --http-query-param "Key-Pair-Id=x" --hls-segment-key-uri "https://olympus1.greatlearning.in/api/v1/hls_videos/token/TOKEN" ".m3u8" best -o output.ts
-
which video do you want?
Code:hlsdl -o "1.1 What is computer vision.mp4" -K "6271915c351995b0294673fbc50701fd" -h "referer: https://olympus.greatlearning.in/" "https://dbq3da34mdptq.cloudfront.net/HLS/production/output-176a36e0-2dd8-42bd-9f14-7ef5bf8cbccf-1080p.m3u8"
discord=notaghost9997 -
-
Having trouble getting hlsdl package compiled on windows... may create a linux VM unless anyone has any tips.
Was able to find a precompiled version of hlsdl with all the dependencies. I get the error below when using your code, which I'm assuming it just needs an updated key. Not sure where that came from.
Almost there!! thanks everyoneLast edited by MachineLearning; 12th Sep 2021 at 12:40.
-
working for me
i am using this version of hlsdl https://siasky.net/_AkANbWEMKCasc6MPVqA6QXC0nRwDAdqNCKgGmfYQ3usOQdiscord=notaghost9997 -
Works now, my version of hlsdl didn't like the capital "K" so I changed it to lowercase. This version works with the capital K and the download completes!
Are you able to explain where you found the key? Or how long it may last?
When I try to download a different video, using the below, it can't decrypt it. Looks like the key may be specific per video?
Code:hlsdl -o "1.2 Approaches to computer vision-Pixel Intensity Histograms and CNN.mp4" -K "6271915c351995b0294673fbc50701fd" -h "referer: https://olympus.greatlearning.in/" "https://dbq3da34mdptq.cloudfront.net/HLS/production/output-f5641f24-dd25-41d9-abec-219f8950671b-1080p.m3u8"
Thank you for your helpLast edited by MachineLearning; 12th Sep 2021 at 13:22.
-
Code:
hlsdl -o "1.2 Approaches to computer vision-Pixel Intensity Histograms and CNN.mp4" -K "83bd37740ca1cdbcc7157e4f73e854cb" -h "referer: https://olympus.greatlearning.in/" "https://dbq3da34mdptq.cloudfront.net/HLS/production/output-f5641f24-dd25-41d9-abec-219f8950671b-1080p.m3u8"
discord=notaghost9997 -
-
Hello I have a m3u8 url that I would like to download. What is the best way to go about it? Also can someone who is knowledge about yt--dlp cookies message me. I need help with something.
Last edited by Takyon; 16th Jun 2022 at 00:34.
-
if you need help, write here your video link
otherwise how can we advise? each site has specific properties, there is no general rule ... -
Know old thread
Been trying to download a link but cant figure it out
https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER-1/duh_hls_video_1m_v4.m3u8
This is in the source
[3] => stdClass Object
(
[url] => https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER-1/index.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNl IjoiaHR0cCo6Ly9kMm83NWMxd2wzcnRmaS5jbG91ZGZyb250Lm 5ldC8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJB V1M6RXBvY2hUaW1lIjoxNzA5ODE4MzIxfSwiSXBBZGRyZXNzIj p7IkFXUzpTb3VyY2VJcCI6IjAuMC4wLjAvMCJ9fX1dfQ__&Sig nature=SKtcGrCfHxba2jBTp-zgewBhwZxQQR3NYXyY1~BaLP9UkrHVFw-EONC6LB1~X6SfyGTXhUzO49aCT7GwadAl22zVc710LPd9j5Qve aYVxXjt7UoWwlW~3QaxCQK-tzgm1v9SYI-EreBI~gM8FGrckVAH4pxO6BUNmfUPRoEw0cxThEth103Z0qcQL 7ch-ltrXdqWglwjS34NSP-YIWUtDbvK7c7dB1L~3YHMrf9eV0LAZIXQf1pgXLrnwo3f105XS Mc2vGa53FwqVMF2w0CRTDeU02iwDxd9Q~XDOFrn5K8SJbquo2p BiJZFjCXmDJny62Tx91Gkjy~BQEgVWZVDgg__&Key-Pair-Id=APKAIDA5ECQKC4AMW6MQ
[unsigned_url] => https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER-1/index.m3u8
[key] => Philsophy-MASTER-1/index.m3u8
[width] =>
[height] =>
[contentType] => application/x-mpegURL
[type] => HlsPlaylistFile
[signature] => SKtcGrCfHxba2jBTp-zgewBhwZxQQR3NYXyY1~BaLP9UkrHVFw-EONC6LB1~X6SfyGTXhUzO49aCT7GwadAl22zVc710LPd9j5Qve aYVxXjt7UoWwlW~3QaxCQK-tzgm1v9SYI-EreBI~gM8FGrckVAH4pxO6BUNmfUPRoEw0cxThEth103Z0qcQL 7ch-ltrXdqWglwjS34NSP-YIWUtDbvK7c7dB1L~3YHMrf9eV0LAZIXQf1pgXLrnwo3f105XS Mc2vGa53FwqVMF2w0CRTDeU02iwDxd9Q~XDOFrn5K8SJbquo2p BiJZFjCXmDJny62Tx91Gkjy~BQEgVWZVDgg__
[key_pair_id] => APKAIDA5ECQKC4AMW6MQ
[policy] => eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cCo6Ly9kMm 83NWMxd2wzcnRmaS5jbG91ZGZyb250Lm5ldC8qIiwiQ29uZGl0 aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIj oxNzA5ODE4MzIxfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJ cCI6IjAuMC4wLjAvMCJ9fX1dfQ__
[license] => UurT2L01KRHz66T70kfxmg==
[encrypted] => 1
tried most the as headers
tried yt-dlp
hlsdl
any help would be great and might get me in good books with the wife -
Can you provide link to the original video?
Edit: problem was solved in private by using an account. The video can be downloaded using N_m3u8 and some local m3u8 file editing. For some reason, if you remove the first #EXTINF, N_m3u8 can handle the file, but if you leave it untouched, it can't handle the first fragment. Weird, never seen this before.Last edited by 2nHxWW6GkN1l916N3ayz8HQoi; 7th Mar 2024 at 15:25.
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
Still struggling with this
I Noticed that the key was not getting downloaded and populated into the json file.
So did that and solved that error
I tried removing the first segment from the m3u8 file
LOG:
Code:Task CommandLine: "D:\M3U8DL\N_m3u8DL-CLI_v3.0.2.exe" "E:\CA\m3u8\Fundamentals_Philosophy_1.m3u8" --workDir "E:\CA\working" --saveName "Fundamentals_Philosophy_1" --baseUrl "https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER/" --useKeyFile "E:\CA\m3u8\Fundamentals_Philosophy_1.key" 13:37:21.345 / (NORMAL) Start Parsing E:\CA\m3u8\Fundamentals_Philosophy_1.m3u8 13:37:21.377 / (NORMAL) Downloading M3u8 Key... file:///E:/CA/m3u8/Fundamentals_Philosophy_1.key 13:37:21.409 / (NORMAL) Writing Json: [meta.json] 13:37:21.548 / (NORMAL) Start Downloading 13:37:22.235 / (ERROR) Padding is invalid and cannot be removed.
Code:#EXTM3U #EXT-X-VERSION:4 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-ALLOW-CACHE:YES #EXT-X-TARGETDURATION:13 #EXTINF:12.012, #EXT-X-BYTERANGE:3616384@0 #EXT-X-KEY:METHOD=AES-128,URI="https://downunderhorsemanship.com/?hls_key=Philosophy/Philsophy-MASTER.mp4",IV=0x0b834405ae9efaf88960581e0d527737 duh_hls_video_2m.ts #EXTINF:12.011999999999999, #EXT-X-BYTERANGE:2035680 duh_hls_video_2m.ts #EXTINF:12.012, #EXT-X-BYTERANGE:4735536 duh_hls_video_2m.ts
Code:#EXTM3U #EXT-X-VERSION:4 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-ALLOW-CACHE:YES #EXT-X-TARGETDURATION:13 #EXT-X-KEY:METHOD=AES-128,URI="https://downunderhorsemanship.com/?hls_key=Philosophy/Philsophy-MASTER.mp4",IV=0x0b834405ae9efaf88960581e0d527737 #EXTINF:12.011999999999999, #EXT-X-BYTERANGE:2035680@0 duh_hls_video_2m.ts #EXTINF:12.012, #EXT-X-BYTERANGE:4735536 duh_hls_video_2m.ts
JSON top few segments-original
Code:{ "m3u8": "file:///E:/CA/m3u8/Fundamentals_Philosophy_1.m3u8", "m3u8BaseUri": "https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER/", "updateTime": "2024-03-09T13:54:35.7721879+10:00", "m3u8Info": { "originalCount": 1264, "count": 1264, "vod": true, "targetDuration": 13, "totalDuration": 15181.7666, "segments": [ [ { "index": 0, "method": "AES-128", "key": "GciuQedg0zgUyKOw/AuSjQ==", "iv": "0x00000000000000000000000000000000", "duration": 12.012, "expectByte": 3616384, "startByte": 0, "segUri": "https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER/duh_hls_video_2m.ts" }, { "index": 1, "method": "AES-128", "key": "GciuQedg0zgUyKOw/AuSjQ==", "iv": "0x0b834405ae9efaf88960581e0d527737", "duration": 12.011999999999999, "expectByte": 2035680, "startByte": 3616384, "segUri": "https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER/duh_hls_video_2m.ts" }, { "index": 2, "method": "AES-128", "key": "GciuQedg0zgUyKOw/AuSjQ==", "iv": "0x0b834405ae9efaf88960581e0d527737", "duration": 12.012, "expectByte": 4735536, "startByte": 5652064, "segUri": "https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER/duh_hls_video_2m.ts" },
Code:{ "m3u8": "file:///E:/CA/m3u8/Fundamentals_Philosophy_1.m3u8", "m3u8BaseUri": "https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER/", "updateTime": "2024-03-09T13:56:15.4049169+10:00", "m3u8Info": { "originalCount": 1263, "count": 1263, "vod": true, "targetDuration": 13, "totalDuration": 15169.7546, "segments": [ [ { "index": 0, "method": "AES-128", "key": "GciuQedg0zgUyKOw/AuSjQ==", "iv": "0x0b834405ae9efaf88960581e0d527737", "duration": 12.011999999999999, "expectByte": 2035680, "startByte": 0, "segUri": "https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER/duh_hls_video_2m.ts" }, { "index": 1, "method": "AES-128", "key": "GciuQedg0zgUyKOw/AuSjQ==", "iv": "0x0b834405ae9efaf88960581e0d527737", "duration": 12.012, "expectByte": 4735536, "startByte": 2035680, "segUri": "https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER/duh_hls_video_2m.ts" }, { "index": 2, "method": "AES-128", "key": "GciuQedg0zgUyKOw/AuSjQ==", "iv": "0x0b834405ae9efaf88960581e0d527737", "duration": 12.012, "expectByte": 2401904, "startByte": 6771216, "segUri": "https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER/duh_hls_video_2m.ts" },
-
Download the key from this link: https://downunderhorsemanship.com/?hls_key=Philosophy/Philsophy-MASTER.mp4. You should be connected in your account after you played the video. Otherwise you will get an empty file. Save it to key.txt file. Then modify the m3u8 and replace the key URL with "key.txt" so it becomes a local resource. Then remove the first #EXTINF. Then use N_m3u8 on it.
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
No matter what I do I get: ERROR: Padding is invalid and cannot be removed.
I have done what you suggest
Tried Software:
N_m3u8DL-CLI_v3.0.2.exe
N_m3u8DL-RE (Beta version) 20230628
I have the key file
Sub it in via the m3u8 file or cli get same result
Key:
Hex: 19 C8 AE 41 E7 60 D3 38 14 C8 A3 B0 FC 0B 92 8D
Base64: GciuQedg0zgUyKOw/AuSjQ==
#EXT-X-KEY:METHOD=AES-128,URI="E:\CA\m3u8\key.txt",IV=0xff8b10cfee25c34f b3192b2479c3bc09
Code:C:\Users\xxxx>D:\M3U8DL\N_m3u8DL-CLI_v3.0.2.exe "E:\CA\m3u8\duh_hls_video_2m_v4.m3u8" --workDir "E:\CA\working" --saveName "Fundamentals_Philosophy_1" --baseUrl "https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER/" --useKeyFile "E:\CA\m3u8\key.txt" N_m3u8DL-CLI version 3.0.2 2018-2022 built date: 20220711 19:21:46.739 File Name: Fundamentals_Philosophy_1 19:21:46.739 Save Path: E:\CA\working 19:21:46.743 Start Parsing E:\CA\m3u8\duh_hls_video_2m_v4.m3u8 19:21:46.769 Downloading M3u8 Key... 19:21:46.784 Writing Json: [meta.json] 19:21:46.854 File Duration: 47m52s 19:21:46.855 Original Count: 240, Selected Count: 240 19:21:46.870 Start Downloading 19:21:46.874 Downloading First Segement... 19:21:48.021 Padding is invalid and cannot be removed. 19:21:50.000 (0 bytes/s)
Code:C:\Users\xxx>D:\M3U8DL\N_m3u8DL-CLI_v3.0.2.exe "E:\CA\m3u8\duh_hls_video_2m_v4.m3u8" --workDir "E:\CA\working" --saveName "Fundamentals_Philosophy_1" --baseUrl "https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER/" N_m3u8DL-CLI version 3.0.2 2018-2022 built date: 20220711 19:27:46.042 File Name: Fundamentals_Philosophy_1 19:27:46.042 Save Path: E:\CA\working 19:27:46.046 Start Parsing E:\CA\m3u8\duh_hls_video_2m_v4.m3u8 19:27:46.072 Downloading M3u8 Key... 19:27:46.087 Writing Json: [meta.json] 19:27:46.157 File Duration: 47m52s 19:27:46.158 Original Count: 240, Selected Count: 240 19:27:46.173 Start Downloading 19:27:46.176 Downloading First Segement... 19:27:46.897 Padding is invalid and cannot be removed. 19:27:49.000 (0 bytes/s)
-
I have no idea what you're doing wrong. For me, it works. I'll give you the processed m3u8 to see how it should look and the key used.
processed_m3u8.txt
key.txt
The final result.
Code:N_m3u8DL-RE.exe --base-url "https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER-1/" processed.m3u8
[Attachment 77534 - Click to enlarge]
I'll also post the link to the original m3u8 (which can be accessed directly) so other users can take a look. Maybe someone who is an expert with N_m3u8 can give you the direct command that can be used to remove the first #EXTINF. For some reason, if you leave it, N_m3u8 fails because of a bad fragment (???). The base URL is the same one used everywhere. The key is the same. You can't obtain the key without access to the account so I just uploaded it in a txt file.
https://d2o75c1wl3rtfi.cloudfront.net/Philsophy-MASTER-1/index.m3u8--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
Similar Threads
-
find m3u8 address in encrypted hls
By xnstt1907 in forum Video Streaming DownloadingReplies: 8Last Post: 10th Jun 2021, 03:46 -
Help Downloading m3u8 File encrypted with aes encryption
By thegeek in forum Video Streaming DownloadingReplies: 3Last Post: 15th Apr 2021, 06:07 -
Help downloading AES-encrypted HLS video stream
By Woodswolf in forum Video Streaming DownloadingReplies: 26Last Post: 25th May 2019, 14:20 -
Help me with AES encrypted HLS downloading ?
By shraman in forum Video Streaming DownloadingReplies: 0Last Post: 30th Jul 2018, 06:54 -
Help downloading AES-encrypted HLS video stream
By vidder in forum Video Streaming DownloadingReplies: 3Last Post: 4th Jul 2018, 17:24