summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-09-16 20:16:52 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-09-16 20:38:54 +0200
commit4dc0ff3ecf2118a0bac128cb8e006e151222e23b (patch)
treefdf1766071432924c0eb47dc55ea68be7e6da904
parent4b6462fc1e4306e4a1a5b3613b2cef5b09cc9abe (diff)
downloadyoutube-dl-4dc0ff3ecf2118a0bac128cb8e006e151222e23b.tar.gz
youtube-dl-4dc0ff3ecf2118a0bac128cb8e006e151222e23b.tar.xz
youtube-dl-4dc0ff3ecf2118a0bac128cb8e006e151222e23b.zip
[ooyala] prefer ipad url
It has better quality with m3u8 manifests
-rw-r--r--youtube_dl/extractor/ooyala.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ooyala.py b/youtube_dl/extractor/ooyala.py
index 01b3637c9..d189a9852 100644
--- a/youtube_dl/extractor/ooyala.py
+++ b/youtube_dl/extractor/ooyala.py
@@ -22,7 +22,7 @@ class OoyalaIE(InfoExtractor):
         return {'id': info['embedCode'],
                 'ext': 'mp4',
                 'title': unescapeHTML(info['title']),
-                'url': info['url'],
+                'url': info.get('ipad_url') or info['url'],
                 'description': unescapeHTML(more_info['description']),
                 'thumbnail': more_info['promo'],
                 }