]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[brightcove] Clarify IE_NAMEs
authorSergey M․ <dstftw@gmail.com>
Fri, 13 Nov 2015 23:56:51 +0000 (05:56 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 13 Nov 2015 23:56:51 +0000 (05:56 +0600)
youtube_dl/extractor/brightcove.py

index 5aca0b3782f68c92f27cf262b621850ae312411b..8ee5486fed60e7456ab2e69bbdb494d1ae9c0014 100644 (file)
@@ -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',