From ea2295842f79c9efff3a9abce1d0eee7de4953d6 Mon Sep 17 00:00:00 2001 From: Remita Amine Date: Tue, 14 Nov 2017 17:41:30 +0100 Subject: [PATCH] [common] skip Apple FairPlay m3u8 manifests(closes #14741) --- youtube_dl/extractor/common.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index e2d9f52b0..a9d68fc0c 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1356,6 +1356,9 @@ def _parse_m3u8_formats(self, m3u8_doc, m3u8_url, ext=None, if '#EXT-X-FAXS-CM:' in m3u8_doc: # Adobe Flash Access return [] + if re.search(r'#EXT-X-SESSION-KEY:.*?URI="skd://', m3u8_doc): # Apple FairPlay + return [] + formats = [] format_url = lambda u: (