浏览代码

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

Sergey M․ 9 年之前
父节点
当前提交
4f29fa9906
共有 1 个文件被更改,包括 4 次插入0 次删除
  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