diff options
| author | Remita Amine <remitamine@gmail.com> | 2017-11-14 17:41:30 +0100 | 
|---|---|---|
| committer | Remita Amine <remitamine@gmail.com> | 2017-11-14 17:41:30 +0100 | 
| commit | ea2295842f79c9efff3a9abce1d0eee7de4953d6 (patch) | |
| tree | 0f09ceffa2d8e61a56f1135672228ad85285c159 | |
| parent | a2b6aba8ded704f55a6650fc3e20b2e6c8aec094 (diff) | |
[common] skip Apple FairPlay m3u8 manifests(closes #14741)
| -rw-r--r-- | youtube_dl/extractor/common.py | 3 | 
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: (  | 
