0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +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 @@ def _extract_result(self, info, more_info):
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'],
}