1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-09-05 18:39:37 +02:00

[extractor/patreon] Sort formats

This commit is contained in:
pukkandan 2022-09-22 01:23:22 +05:30
parent f7c5a5e967
commit b27bc13af6
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

View File

@ -277,6 +277,7 @@ def _real_extract(self, url):
}
elif name == 'video':
formats, subtitles = self._extract_m3u8_formats_and_subtitles(post_file['url'], video_id)
self._sort_formats(formats)
return {
**info,
'formats': formats,