aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2017-02-10 16:51:41 +0100
committerRemita Amine <remitamine@gmail.com>2017-02-10 17:00:09 +0100
commit08a00eef79c8f8b12211513b241404394ef6120c (patch)
treee136674a4487eccdf1b6d665eab9bca9eaa99682
parent9dd5408c99c6ff101ac8302dea5d5c5bfdfc40c3 (diff)
[extractor/common] skip m3u8 manifests protected with Adobe Flash Access
-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 0b4e2ac20..9681453ca 100644
--- 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: (