summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-11-14 05:56:51 +0600
committerSergey M․ <dstftw@gmail.com>2015-11-14 05:56:51 +0600
commite721d857c2b24c10c09626a4a79172d85e0dc5fb (patch)
tree3d9908bffc33a1247dc78c8c32b27bcb0aa430d8
parent5c17f0a67a3a0518f448825eee54d16045acd63c (diff)
downloadyoutube-dl-e721d857c2b24c10c09626a4a79172d85e0dc5fb.tar.gz
youtube-dl-e721d857c2b24c10c09626a4a79172d85e0dc5fb.tar.xz
youtube-dl-e721d857c2b24c10c09626a4a79172d85e0dc5fb.zip
[brightcove] Clarify IE_NAMEs
-rw-r--r--youtube_dl/extractor/brightcove.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py
index 5aca0b378..8ee5486fe 100644
--- a/youtube_dl/extractor/brightcove.py
+++ b/youtube_dl/extractor/brightcove.py
@@ -31,6 +31,7 @@ from ..utils import (
 
 
 class BrightcoveLegacyIE(InfoExtractor):
+    IE_NAME = 'brightcove:legacy'
     _VALID_URL = r'(?:https?://.*brightcove\.com/(services|viewer).*?\?|brightcove:)(?P<query>.*)'
     _FEDERATED_URL_TEMPLATE = 'http://c.brightcove.com/services/viewer/htmlFederated?%s'
 
@@ -354,6 +355,7 @@ class BrightcoveLegacyIE(InfoExtractor):
 
 
 class BrightcoveNewIE(InfoExtractor):
+    IE_NAME = 'brightcove:new'
     _VALID_URL = r'https?://players\.brightcove\.net/(?P<account_id>\d+)/(?P<player_id>[^/]+)_(?P<embed>[^/]+)/index\.html\?.*videoId=(?P<video_id>\d+)'
     _TEST = {
         'url': 'http://players.brightcove.net/929656772001/e41d32dc-ec74-459e-a845-6c69f7b724ea_default/index.html?videoId=4463358922001',