kopia lustrzana https://github.com/yt-dlp/yt-dlp
[globo] Improve http formats
rodzic
aebb42d32b
commit
a4a6b7b80f
|
@ -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)
|
||||||
|
|
Ładowanie…
Reference in New Issue