mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-27 18:16:44 +00:00
[globo] Improve http formats
This commit is contained in:
parent
aebb42d32b
commit
a4a6b7b80f
1 changed files with 2 additions and 2 deletions
|
@ -361,8 +361,8 @@ class GloboIE(InfoExtractor):
|
||||||
else:
|
else:
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': signed_url,
|
'url': signed_url,
|
||||||
'format_id': resource_id,
|
'format_id': 'http-%s' % resource_id,
|
||||||
'height': resource.get('height'),
|
'height': int_or_none(resource.get('height')),
|
||||||
})
|
})
|
||||||
|
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
Loading…
Reference in a new issue