[extractor/common] skip m3u8 manifests protected with Adobe Flash Access
authorRemita Amine <remitamine@gmail.com>
Fri, 10 Feb 2017 15:51:41 +0000 (16:51 +0100)
committerRemita Amine <remitamine@gmail.com>
Fri, 10 Feb 2017 16:00:09 +0000 (17:00 +0100)
youtube_dl/extractor/common.py

index 0b4e2ac207b049d934c6b65fdf9317f856466b0f..9681453ca397fa495d21b5a691701255fd18df33 100644 (file)
@@ -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: (