Browse Source

[common] skip Apple FairPlay m3u8 manifests(closes #14741)

Remita Amine 7 years ago
parent
commit
ea2295842f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      youtube_dl/extractor/common.py

+ 3 - 0
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: (