1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 08:35:32 +00:00

[extractor] Deprecate _sort_formats

This commit is contained in:
pukkandan
2022-11-17 10:40:03 +05:30
parent 784320c98c
commit 9f14daf22b
579 changed files with 69 additions and 918 deletions

View File

@ -64,7 +64,6 @@ class PicartoIE(InfoExtractor):
formats.append({
'url': source_url,
})
self._sort_formats(formats)
mature = metadata.get('adult')
if mature is None:
@ -114,7 +113,6 @@ class PicartoVodIE(InfoExtractor):
formats = self._extract_m3u8_formats(
vod_info['vod'], video_id, 'mp4', entry_protocol='m3u8_native',
m3u8_id='hls')
self._sort_formats(formats)
return {
'id': video_id,