[ooyala] prefer ipad url

It has better quality with m3u8 manifests
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-09-16 20:16:52 +02:00
parent 4b6462fc1e
commit 4dc0ff3ecf

View 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'],
}