aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2017-11-14 17:41:30 +0100
committerRemita Amine <remitamine@gmail.com>2017-11-14 17:41:30 +0100
commitea2295842f79c9efff3a9abce1d0eee7de4953d6 (patch)
tree0f09ceffa2d8e61a56f1135672228ad85285c159 /youtube_dl
parenta2b6aba8ded704f55a6650fc3e20b2e6c8aec094 (diff)
[common] skip Apple FairPlay m3u8 manifests(closes #14741)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/common.py3
1 files changed, 3 insertions, 0 deletions
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 @@ class InfoExtractor(object):
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: (