ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.19k stars 9.93k forks source link

[nsfw] AES-encrypted HLS streams downloaded incorrectly if decryption key in ASCII instead binary #17597

Open YurikaL opened 5 years ago

YurikaL commented 5 years ago

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.09.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

Before submitting an issue make sure you have:

What is the purpose of your issue?


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Command line output for hlsnative downloader:

$ youtube-dl -v --ignore-config --hls-prefer-native --hls-use-mpegts http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/playlist.m3u8?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5 -f 2000 -o r18_hlsnative.mp4
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--ignore-config', '--hls-prefer-native', '--hls-use-mpegts', 'http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/playlist.m3u8?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5', '-f', '2000', '-o', 'r18_hlsnative.mp4']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.09.18
[debug] Python version 3.7.0 (CPython) - Linux-4.18.6-arch1-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg n4.0.2, ffprobe n4.0.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] playlist: Requesting header
[generic] playlist: Downloading m3u8 information
[debug] Invoking downloader on 'http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/chunklist_b2000000.m3u8?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 2436
[download] Destination: r18_hlsnative.mp4
[download]   0.5% of ~2.35GiB at 167.94KiB/s ETA 04:08:59

--hls-prefer-ffmpeg failed as well:

$ youtube-dl -v --ignore-config --hls-prefer-ffmpeg --hls-use-mpegts http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/playlist.m3u8?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5 -f 2000 -o r18_ffmpeg.ts
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--ignore-config', '--hls-prefer-ffmpeg', '--hls-use-mpegts', 'http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/playlist.m3u8?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5', '-f', '2000', '-o', 'r18_ffmpeg.ts']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.09.18
[debug] Python version 3.7.0 (CPython) - Linux-4.18.6-arch1-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg n4.0.2, ffprobe n4.0.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] playlist: Requesting header
[generic] playlist: Downloading m3u8 information
[debug] Invoking downloader on 'http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/chunklist_b2000000.m3u8?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5'
[download] Destination: r18_ffmpeg.ts
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-us,en;q=0.5
' -i 'http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/chunklist_b2000000.m3u8?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5' -c copy -f mpegts file:r18_ffmpeg.ts.part
ffmpeg version n4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvenc --enable-omx --enable-shared --enable-version3
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
[hls,applehttp @ 0x55b7df5fe180] HLS request for url 'http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/media_b2000000_0.ts?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5', offset 0, playlist 0                                                                           
[hls,applehttp @ 0x55b7df5fe180] Opening 'http://www.r18.com/drm/mobile?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5' for reading
[hls,applehttp @ 0x55b7df5fe180] Opening 'crypto+http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/media_b2000000_0.ts?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5' for reading
[hls,applehttp @ 0x55b7df5fe180] HLS request for url 'http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/media_b2000000_1.ts?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5', offset 0, playlist 0                                                                           
[hls,applehttp @ 0x55b7df5fe180] Opening 'crypto+http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/media_b2000000_1.ts?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5' for reading
[hls,applehttp @ 0x55b7df5fe180] Error when loading first segment 'http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/media_b2000000_0.ts?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5'       
http://limst-video4.r18.com/vodstreaming04/r18/amlst:vod-1:blWzIh%2BiwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60tkUp4HEcdktP8xCpemfcfEgy2spoXyPW%2BSzSrdMcD6si4nYapyJd6wvalOyPItyvY%3D/chunklist_b2000000.m3u8?ld=pBVsZ1jgkbPNQMshC68lL2BdTc0zVkeAAzL%2F%2F1DsaW%2Bn04PYOu339g75ryabMuooehLYJCyDfvKt5cpAi0Yq%2B22lGiLzEalr08IGWfOKQReLKLDAA5NihIo%2BEX%2FxiyvLpq4OBB4o10DJGMz1jqfN2qQnIEgf%2FjURjw%2BV0mSRBE5DSOZ89vPrbOf%2FdRbv6opXbwFwyYU7z6bY5Tt40DLmhspyaVpLhC3ViZ1OuIuM4IbXgRJyfF1tWj%2BocMiBHiEd%2BqEnKrKigxF04Zwxzxd0fhfMFsibiHCmUmsvINxg%2B7YN43P4fZVuurva4boH3bQ5: Invalid data found when processing input                             

ERROR: ffmpeg exited with code 1
  File "/usr/bin/youtube-dl", line 11, in <module>
    load_entry_point('youtube-dl==2018.9.18', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python3.7/site-packages/youtube_dl/__init__.py", line 472, in main
    _real_main(argv)
  File "/usr/lib/python3.7/site-packages/youtube_dl/__init__.py", line 462, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2001, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 803, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 857, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1635, in process_video_result
    self.process_info(new_info)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1908, in process_info
    success = dl(filename, info_dict)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1847, in dl
    return fd.download(name, info)
  File "/usr/lib/python3.7/site-packages/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "/usr/lib/python3.7/site-packages/youtube_dl/downloader/external.py", line 64, in real_download
    self.get_basename(), retval))
  File "/usr/lib/python3.7/site-packages/youtube_dl/downloader/common.py", line 165, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 620, in report_error
    self.trouble(error_message, tb)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 582, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Description of your issue, suggested solution and other information

Downloading AES-encrypted HLS stream from r18.com is not working with both --hls-prefer-native and --hls-prefer-ffmpeg options. With --hls-prefer-native, stream starts to download without errors, but resulting file is unplayable — seems like decryption not executing correctly. With --hls-prefer-ffmpeg, downloading simply fails with error that posted above. I am not clearly sure, but it seems like that cause of that behavior is that the decryption key from r18.com is comes in ASCII representation, whereas valid AES-encrypted HLS stream contains key in binary format. For example https://www.radiantmediaplayer.com/media/rmp-segment/bbb-abr-aes/playlist.m3u8 and http://playertest.longtailvideo.com/adaptive/oceans_aes/oceans_aes.m3u8 that downloading correctly, both contains key in binary format.

By the way, https://github.com/selsta/hlsdl/ tool handles HLS streams from r18.com correctly, but it not support resuming downloads, so I prefer youtube-dl to download it (if possible).

And links from r18.com are most likely IP-restricted (this is a kind of DRM, after all), but newly register users will receive a one (semi-)random movie to their account, so it possible to obtain necessary links independent. For registration, go to https://www.r18.com/my/register/. After completing the registration procedure, go to https://www.r18.com/my/library/, find recently added movie, click "Watch now" and select "Streaming". On new tab with online player, open a network requests console (in Firefox, press Ctrl+Shift+E), and type "m3u8" to the search box. Next, copy link to playlist.m3u8 — this is a required link.

Also, this issue seems slightly similar to #10022.

jakob11git commented 5 years ago

I think I might have the same issue when trying to download radio streams from https://hibiki-radio.jp

finelikewine commented 5 years ago

@YurikaL were you ever able to solve this issue? I'm experiencing the same problem

YurikaL commented 4 years ago

@finelikewine No, unfortunately. Still using hlsdl for this purpose, despite to no resuming support. Corresponding hlsdl issue has no activity too...

tehgarra commented 4 years ago

@YurikaL so r18 is actually possible? Is there a benefit over using hls? I'm interested in using ytdl/hlsdl for it, but don't fully understand the method

YurikaL commented 4 years ago

@tehgarra Ripping HLS stream is a relatively straightforward way to obtain DRM-free copies of movies bought on R18.com, so yes — it possible, but only with hlsdl tool, until this issue is fixed. Method are briefly described in last paragraphs of original issue, but may be you want more detailed description?

olpdog commented 4 years ago

@tehgarra Ripping HLS stream is a relatively straightforward way to obtain DRM-free copies of movies bought on R18.com, so yes — it possible, but only with hlsdl tool, until this issue is fixed. Method are briefly described in last paragraphs of original issue, but may be you want more detailed description?

I would greatly appreciate a more detailed description if you have a chance. I am still new to coding so any details you could provide would be extremely helpful. Thank you

finelikewine commented 4 years ago

HLSDL works perfectly with R18 but for some reason it doesn't work for dmm.co.jp which is the true parent company of where the videos are being stored. It fails to grab the key needed to decrypt

deepblue2000 commented 4 years ago

is there any solution for the drm stuff ?