mirror of https://github.com/yt-dlp/yt-dlp.git
[extractor/patreon] Sort formats
This commit is contained in:
parent
f7c5a5e967
commit
b27bc13af6
|
@ -277,6 +277,7 @@ class PatreonIE(PatreonBaseIE):
|
||||||
}
|
}
|
||||||
elif name == 'video':
|
elif name == 'video':
|
||||||
formats, subtitles = self._extract_m3u8_formats_and_subtitles(post_file['url'], video_id)
|
formats, subtitles = self._extract_m3u8_formats_and_subtitles(post_file['url'], video_id)
|
||||||
|
self._sort_formats(formats)
|
||||||
return {
|
return {
|
||||||
**info,
|
**info,
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
|
|
Loading…
Reference in New Issue