1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-09 08:02:54 +08:00

Trivial patch for SAMPLE-AES support

This commit is contained in:
Rich Ercolani 2018-04-24 10:36:25 -04:00
parent 99036a1298
commit e47865ef97

View File

@ -30,7 +30,7 @@ class HlsFD(FragmentFD):
@staticmethod
def can_download(manifest, info_dict):
UNSUPPORTED_FEATURES = (
r'#EXT-X-KEY:METHOD=(?!NONE|AES-128)', # encrypted streams [1]
r'#EXT-X-KEY:METHOD=(?!NONE|AES-128|SAMPLE-AES)', # encrypted streams [1]
# r'#EXT-X-BYTERANGE', # playlists composed of byte ranges of media files [2]
# Live streams heuristic does not always work (e.g. geo restricted to Germany