From 57aa7b8511165c48a6e9c33af820bf9ca459d149 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sun, 19 Sep 2021 14:20:20 +0530 Subject: [PATCH] [hls] Byterange + AES128 is supported by native downloader --- yt_dlp/downloader/hls.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/yt_dlp/downloader/hls.py b/yt_dlp/downloader/hls.py index bea286604..e0dc1def7 100644 --- a/yt_dlp/downloader/hls.py +++ b/yt_dlp/downloader/hls.py @@ -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())