0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-29 01:51:06 +00:00

[hls] Byterange + AES128 is supported by native downloader

This commit is contained in:
pukkandan 2021-09-19 14:20:20 +05:30
parent 9c1c3ec016
commit 57aa7b8511
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View 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())