[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 @@ 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,