Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Hi Appreciate if you help download videos from the site -https://olympus.greatlearning.in/courses/4971/pages/unstructured-data-course-introduction?module_item_id=250532 #22868
Comments
|
Unfortunately the videos are encrypted with AES-128. |
|
for now, you can use this command to download the HLS manifest captured using the Browser Developer tools.
|
|
@remitamine when using the above mentioned method the same error exist. As shown in the error log below. youtube-dl --hls-prefer-native --cookies COOKIE_FILE --referer https://olympus1.greatlearning.in/ https://dbq3da34mdptq.cloudfront.net/HLS/production/output-dd150f4d-b906-484c-b9f7-1e77c8c3dd42-540p.m3u8
[generic] output-dd150f4d-b906-484c-b9f7-1e77c8c3dd42-540p: Requesting header
[generic] output-dd150f4d-b906-484c-b9f7-1e77c8c3dd42-540p: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg
[download] Destination: output-dd150f4d-b906-484c-b9f7-1e77c8c3dd42-540p-output-dd150f4d-b906-484c-b9f7-1e77c8c3dd42-540p.mp4
ffmpeg version git-2019-10-26-1054752 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191010
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 35.101 / 56. 35.101
libavcodec 58. 60.100 / 58. 60.100
libavformat 58. 33.100 / 58. 33.100
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 65.100 / 7. 65.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
[hls @ 0000000000131fc0] Skip ('#EXT-X-VERSION:3')
[hls @ 0000000000131fc0] Skip ('#EXT-X-ALLOW-CACHE:YES')
[hls @ 0000000000131fc0] Opening 'https://olympus1.greatlearning.in/api/v1/hls_videos/token/f0a3b041-d60c-4659-8c80-f12192192e35' for reading
[hls @ 0000000000131fc0] Opening 'crypto+https://dbq3da34mdptq.cloudfront.net/HLS/production/output-dd150f4d-b906-484c-b9f7-1e77c8c3dd42-540p00000.ts' for reading
[hls @ 0000000000131fc0] Opening 'crypto+https://dbq3da34mdptq.cloudfront.net/HLS/production/output-dd150f4d-b906-484c-b9f7-1e77c8c3dd42-540p00001.ts' for reading
[hls @ 0000000000131fc0] Error when loading first segment 'https://dbq3da34mdptq.cloudfront.net/HLS/production/output-dd150f4d-b906-484c-b9f7-1e77c8c3dd42-540p00000.ts'
https://dbq3da34mdptq.cloudfront.net/HLS/production/output-dd150f4d-b906-484c-b9f7-1e77c8c3dd42-540p.m3u8: Invalid data found when processing input
ERROR: ffmpeg exited with code 1 |
|
the URL your using is missing the required query string like |
|
Still gives the same error. I think there might be another key needed for the decryption. |
|
obviously you're doing something wrong or didn't use the URL quickly(before the URL expires), and as I shown in the output above the video has been downloaded and it's playable. |
Checklist
Example URLs
Description
Hi i am trying to download videos for a course to watch these offline. the course site is :
https://olympus.greatlearning.in/courses/4971/pages/unstructured-data-course-introduction?module_item_id=250532
userid : reddybharath.k@gmail.com
password - Bharath@1
The video is a blob and streams as multiple .ts files generated from a java script.
Is this possible using this software ?