1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-23 18:06:50 +01:00

[vlive] Sort live formats (closes #27404)

This commit is contained in:
Sergey M․ 2020-12-13 15:04:18 +07:00
parent bb38a12157
commit d8008dee4f
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -155,6 +155,7 @@ class VLiveIE(VLiveBaseIE):
'old/v3/live/%s/playInfo',
video_id)['result']['adaptiveStreamUrl']
formats = self._extract_m3u8_formats(stream_url, video_id, 'mp4')
self._sort_formats(formats)
info = get_common_fields()
info.update({
'title': self._live_title(video['title']),