From e47865ef970697eacc02e4fc6515b843cb4bc3d5 Mon Sep 17 00:00:00 2001 From: Rich Ercolani Date: Tue, 24 Apr 2018 10:36:25 -0400 Subject: [PATCH] Trivial patch for SAMPLE-AES support --- youtube_dl/downloader/hls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py index fd304527e..b1f08ad6c 100644 --- a/youtube_dl/downloader/hls.py +++ b/youtube_dl/downloader/hls.py @@ -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