projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb38a12
)
[vlive] Sort live formats (closes #27404)
author
Sergey M․
<dstftw@gmail.com>
Sun, 13 Dec 2020 08:04:18 +0000
(15:04 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 13 Dec 2020 08:04:18 +0000
(15:04 +0700)
youtube_dl/extractor/vlive.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vlive.py
b/youtube_dl/extractor/vlive.py
index 223709b1e29d0ada9ae10d3a50c47133a864510a..6224e620035f0f7263533a247b92121252226b58 100644
(file)
--- a/
youtube_dl/extractor/vlive.py
+++ b/
youtube_dl/extractor/vlive.py
@@
-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']),