projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2b6aba
)
[common] skip Apple FairPlay m3u8 manifests(closes #14741)
author
Remita Amine
<remitamine@gmail.com>
Tue, 14 Nov 2017 16:41:30 +0000
(17:41 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Tue, 14 Nov 2017 16:41:30 +0000
(17:41 +0100)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index e2d9f52b018c25abc5a58a93785473ff88d90b74..a9d68fc0c86970b31799458a46e4b841830f5d02 100644
(file)
--- 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: (