[brightcove:embedinpage] Rename extractor to brightcove new

It's not actually embed_in_page but "New Studio" and allows both iframe and embed_in_page embeds
This commit is contained in:
Sergey M․ 2015-11-14 05:55:59 +06:00
parent 4fcaa4f4a5
commit 5c17f0a67a
3 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ from ..utils import (
)
from .brightcove import (
BrightcoveLegacyIE,
BrightcoveInPageEmbedIE,
BrightcoveNewIE,
)
from .nbc import NBCSportsVPlayerIE
from .ooyala import OoyalaIE
@ -1322,7 +1322,7 @@ class GenericIE(InfoExtractor):
}
# Look for Brightcove In Page Embed:
brightcove_in_page_embed_url = BrightcoveInPageEmbedIE._extract_url(webpage)
brightcove_in_page_embed_url = BrightcoveNewIE._extract_url(webpage)
if brightcove_in_page_embed_url:
return self.url_result(brightcove_in_page_embed_url, 'BrightcoveInPageEmbed')