diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-09-16 20:58:36 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-09-16 20:58:36 +0200 |
commit | e8f8e800978c8845a706ebd3ab31bc1b98a51461 (patch) | |
tree | 84e5ade31380bccaa82fca550528d2dacd3c4d1a /youtube_dl/extractor/ooyala.py | |
parent | 4dc0ff3ecf2118a0bac128cb8e006e151222e23b (diff) |
Add an extractor for vice.com (closes #1051)
Diffstat (limited to 'youtube_dl/extractor/ooyala.py')
-rw-r--r-- | youtube_dl/extractor/ooyala.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/extractor/ooyala.py b/youtube_dl/extractor/ooyala.py index d189a9852..1f7b4d2e7 100644 --- a/youtube_dl/extractor/ooyala.py +++ b/youtube_dl/extractor/ooyala.py @@ -18,6 +18,10 @@ class OoyalaIE(InfoExtractor): }, } + @staticmethod + def _url_for_embed_code(embed_code): + return 'http://player.ooyala.com/player.js?embedCode=%s' % embed_code + def _extract_result(self, info, more_info): return {'id': info['embedCode'], 'ext': 'mp4', |