projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[firstpost] Add extractor (Fixes #2324)
[youtube-dl]
/
youtube_dl
/
extractor
/
bloomberg.py
diff --git
a/youtube_dl/extractor/bloomberg.py
b/youtube_dl/extractor/bloomberg.py
index 755d9c9ef2a093289df91409097320908ea06df7..df2cff81c603b5d85d0f6c82a0f36af509002301 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_url = self._
twitter_search_player
(webpage)
+ return self.url_result(ooyala_url,
OoyalaIE.ie_key()
)