mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 11:41:52 +00:00
[vlive] Sort live formats (closes #27404)
This commit is contained in:
parent
bb38a12157
commit
d8008dee4f
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ class VLiveIE(VLiveBaseIE):
|
||||||
'old/v3/live/%s/playInfo',
|
'old/v3/live/%s/playInfo',
|
||||||
video_id)['result']['adaptiveStreamUrl']
|
video_id)['result']['adaptiveStreamUrl']
|
||||||
formats = self._extract_m3u8_formats(stream_url, video_id, 'mp4')
|
formats = self._extract_m3u8_formats(stream_url, video_id, 'mp4')
|
||||||
|
self._sort_formats(formats)
|
||||||
info = get_common_fields()
|
info = get_common_fields()
|
||||||
info.update({
|
info.update({
|
||||||
'title': self._live_title(video['title']),
|
'title': self._live_title(video['title']),
|
||||||
|
|
Loading…
Reference in a new issue