projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dd5408
)
[extractor/common] skip m3u8 manifests protected with Adobe Flash Access
author
Remita Amine
<remitamine@gmail.com>
Fri, 10 Feb 2017 15:51:41 +0000
(16:51 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Fri, 10 Feb 2017 16:00:09 +0000
(17:00 +0100)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 0b4e2ac207b049d934c6b65fdf9317f856466b0f..9681453ca397fa495d21b5a691701255fd18df33 100644
(file)
--- a/
youtube_dl/extractor/common.py
+++ b/
youtube_dl/extractor/common.py
@@
-1208,6
+1208,9
@@
class InfoExtractor(object):
m3u8_doc, urlh = res
m3u8_url = urlh.geturl()
+ if '#EXT-X-FAXS-CM:' in m3u8_doc: # Adobe Flash Access
+ return []
+
formats = [self._m3u8_meta_format(m3u8_url, ext, preference, m3u8_id)]
format_url = lambda u: (