mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-02-28 19:29:46 +00:00
[formatsort] Remove unnecessary field_preference from extractors
These were written with the old format sorting in mind and is no longer needed
This commit is contained in:
@@ -80,7 +80,9 @@ class SendtoNewsIE(InfoExtractor):
|
||||
'format_id': '%s-%d' % (determine_protocol(f), tbr),
|
||||
'tbr': tbr,
|
||||
})
|
||||
self._sort_formats(info_dict['formats'], ('tbr', 'height', 'width', 'format_id'))
|
||||
# 'tbr' was explicitly set to be prefered over 'height' originally,
|
||||
# So this is being kept unless someone can confirm this is unnecessary
|
||||
self._sort_formats(info_dict['formats'], ('tbr', 'res'))
|
||||
|
||||
thumbnails = []
|
||||
if video.get('thumbnailUrl'):
|
||||
|
||||
Reference in New Issue
Block a user