]> jfr.im git - yt-dlp.git/commitdiff
[hls] Byterange + AES128 is supported by native downloader
authorpukkandan <redacted>
Sun, 19 Sep 2021 08:50:20 +0000 (14:20 +0530)
committerpukkandan <redacted>
Sun, 19 Sep 2021 08:50:54 +0000 (14:20 +0530)
yt_dlp/downloader/hls.py

index bea28660481f933d0a587d08d817f2e55939fb31..e0dc1def70f581d52d4b7d3de2de666f4deb70c1 100644 (file)
@@ -56,8 +56,6 @@ def can_download(manifest, info_dict, allow_unplayable_formats=False):
 
         def check_results():
             yield not info_dict.get('is_live')
-            is_aes128_enc = '#EXT-X-KEY:METHOD=AES-128' in manifest
-            yield not (is_aes128_enc and r'#EXT-X-BYTERANGE' in manifest)
             for feature in UNSUPPORTED_FEATURES:
                 yield not re.search(feature, manifest)
         return all(check_results())