1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[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'], return {'id': info['embedCode'],
'ext': 'mp4', 'ext': 'mp4',
'title': unescapeHTML(info['title']), 'title': unescapeHTML(info['title']),
'url': info['url'], 'url': info.get('ipad_url') or info['url'],
'description': unescapeHTML(more_info['description']), 'description': unescapeHTML(more_info['description']),
'thumbnail': more_info['promo'], 'thumbnail': more_info['promo'],
} }