]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[ooyala] prefer ipad url
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 16 Sep 2013 18:16:52 +0000 (20:16 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 16 Sep 2013 18:38:54 +0000 (20:38 +0200)
It has better quality with m3u8 manifests

youtube_dl/extractor/ooyala.py

index 01b3637c92f861954cf3a61a24940c86c5fa34b2..d189a985215ad23f7444dce0dbfb3170363cfc19 100644 (file)
@@ -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'],
                 }