mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 05:36:56 +01:00
parent
0db3bae879
commit
c35ada3360
@ -485,7 +485,7 @@ def extract_from_video_info(media):
|
|||||||
fmts, subs = self._extract_variant_formats(variant, twid)
|
fmts, subs = self._extract_variant_formats(variant, twid)
|
||||||
subtitles = self._merge_subtitles(subtitles, subs)
|
subtitles = self._merge_subtitles(subtitles, subs)
|
||||||
formats.extend(fmts)
|
formats.extend(fmts)
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats, ('res', 'br', 'size', 'proto')) # The codec of http formats are unknown
|
||||||
|
|
||||||
thumbnails = []
|
thumbnails = []
|
||||||
media_url = media.get('media_url_https') or media.get('media_url')
|
media_url = media.get('media_url_https') or media.get('media_url')
|
||||||
|
Loading…
Reference in New Issue
Block a user