mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:01:28 +00:00
[hls] Byterange + AES128 is supported by native downloader
This commit is contained in:
parent
9c1c3ec016
commit
57aa7b8511
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue