]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[brightcove:new] skip widevine classic videos
authorRemita Amine <remitamine@gmail.com>
Sun, 18 Dec 2016 20:39:59 +0000 (21:39 +0100)
committerRemita Amine <remitamine@gmail.com>
Sun, 18 Dec 2016 20:39:59 +0000 (21:39 +0100)
youtube_dl/extractor/brightcove.py

index 945cf19e8bce0f1f9576d26abc455c9795a250d3..ac5f32541ee0133f2e5ffcffa6831db746c7b4c9 100644 (file)
@@ -548,7 +548,7 @@ class BrightcoveNewIE(InfoExtractor):
             container = source.get('container')
             ext = mimetype2ext(source.get('type'))
             src = source.get('src')
-            if ext == 'ism':
+            if ext == 'ism' or container == 'WVM':
                 continue
             elif ext == 'm3u8' or container == 'M2TS':
                 if not src: