projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[lynda] Add support for member accounts and paid videos (Closes #2125)
[youtube-dl]
/
youtube_dl
/
extractor
/
bloomberg.py
diff --git
a/youtube_dl/extractor/bloomberg.py
b/youtube_dl/extractor/bloomberg.py
index 755d9c9ef2a093289df91409097320908ea06df7..d18bc7e0ca5c9d5556d60e354e8b0d9f351e89f7 100644
(file)
--- a/
youtube_dl/extractor/bloomberg.py
+++ b/
youtube_dl/extractor/bloomberg.py
@@
-1,6
+1,7
@@
import re
from .common import InfoExtractor
import re
from .common import InfoExtractor
+from .ooyala import OoyalaIE
class BloombergIE(InfoExtractor):
class BloombergIE(InfoExtractor):
@@
-23,5
+24,5
@@
class BloombergIE(InfoExtractor):
mobj = re.match(self._VALID_URL, url)
name = mobj.group('name')
webpage = self._download_webpage(url, name)
mobj = re.match(self._VALID_URL, url)
name = mobj.group('name')
webpage = self._download_webpage(url, name)
- ooyala_
url = self._og_search_video_url(webpage
)
- return
self.url_result(ooyala_url, ie='Ooyala'
)
+ ooyala_
code = self._search_regex(r'<source src="http://player.ooyala.com/player/[^/]+/([^".]+)', webpage, u'ooyala url'
)
+ return
OoyalaIE._build_url_result(ooyala_code
)