diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-11-14 06:11:49 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-11-14 06:11:49 +0600 |
commit | 967e0955f007d4a348cf66cde818a903720d755f (patch) | |
tree | cb9a514b0f69e121039098409cc2b66c76dbb425 /youtube_dl/extractor/safari.py | |
parent | 4e21b3a94f1ce7ba3757d59d1ac4baf9efaeed84 (diff) | |
parent | e01b432ad38b36b1ba6cb1b6dccecec51f9fc1e7 (diff) | |
download | hypervideo-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.py | 6 |
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): |