1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00:00

[globo] Improve http formats

This commit is contained in:
Sergey M․ 2015-11-04 17:03:45 +06:00
parent aebb42d32b
commit a4a6b7b80f

View file

@ -361,8 +361,8 @@ class GloboIE(InfoExtractor):
else:
formats.append({
'url': signed_url,
'format_id': resource_id,
'height': resource.get('height'),
'format_id': 'http-%s' % resource_id,
'height': int_or_none(resource.get('height')),
})
self._sort_formats(formats)