Explorar o código

[brightcove:new] Add test for ref: prefixed video id

Sergey M․ %!s(int64=10) %!d(string=hai) anos
pai
achega
4f29fa9906
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      youtube_dl/extractor/brightcove.py

+ 4 - 0
youtube_dl/extractor/brightcove.py

@@ -387,6 +387,10 @@ class BrightcoveNewIE(InfoExtractor):
         'params': {
             'skip_download': True,
         }
+    }, {
+        # ref: prefixed video id
+        'url': 'http://players.brightcove.net/3910869709001/21519b5c-4b3b-4363-accb-bdc8f358f823_default/index.html?videoId=ref:7069442',
+        'only_matching': True,
     }]
 
     @staticmethod