aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/safari.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-11-14 06:11:49 +0600
committerSergey M․ <dstftw@gmail.com>2015-11-14 06:11:49 +0600
commit967e0955f007d4a348cf66cde818a903720d755f (patch)
treecb9a514b0f69e121039098409cc2b66c76dbb425 /youtube_dl/extractor/safari.py
parent4e21b3a94f1ce7ba3757d59d1ac4baf9efaeed84 (diff)
parente01b432ad38b36b1ba6cb1b6dccecec51f9fc1e7 (diff)
downloadhypervideo-pre-967e0955f007d4a348cf66cde818a903720d755f.tar.lz
hypervideo-pre-967e0955f007d4a348cf66cde818a903720d755f.tar.xz
hypervideo-pre-967e0955f007d4a348cf66cde818a903720d755f.zip
Merge branch 'remitamine-brightcove_in_page_embed'
Diffstat (limited to 'youtube_dl/extractor/safari.py')
-rw-r--r--youtube_dl/extractor/safari.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/safari.py b/youtube_dl/extractor/safari.py
index a602af692..e9e33d0a3 100644
--- a/youtube_dl/extractor/safari.py
+++ b/youtube_dl/extractor/safari.py
@@ -4,7 +4,7 @@ from __future__ import unicode_literals
import re
from .common import InfoExtractor
-from .brightcove import BrightcoveIE
+from .brightcove import BrightcoveLegacyIE
from ..compat import (
compat_urllib_parse,
@@ -112,11 +112,11 @@ class SafariIE(SafariBaseIE):
'%s/%s/chapter-content/%s.html' % (self._API_BASE, course_id, part),
part)
- bc_url = BrightcoveIE._extract_brightcove_url(webpage)
+ bc_url = BrightcoveLegacyIE._extract_brightcove_url(webpage)
if not bc_url:
raise ExtractorError('Could not extract Brightcove URL from %s' % url, expected=True)
- return self.url_result(smuggle_url(bc_url, {'Referer': url}), 'Brightcove')
+ return self.url_result(smuggle_url(bc_url, {'Referer': url}), 'BrightcoveLegacy')
class SafariCourseIE(SafariBaseIE):