[youtube] Improve 26e8e04454

The streams of the same itag may have slightly different size/bitrate
pull/796/head
pukkandan 3 years ago
parent 26e8e04454
commit c311988d19
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -2819,7 +2819,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
# Source is given priority since formats that throttle are given lower source_preference
# When throttling issue is fully fixed, remove this
self._sort_formats(formats, ('quality', 'res', 'fps', 'source', 'codec:vp9.2', 'size', 'br', 'lang'))
self._sort_formats(formats, ('quality', 'res', 'fps', 'source', 'codec:vp9.2', 'lang'))
keywords = get_first(video_details, 'keywords', expected_type=list) or []
if not keywords and webpage:

Loading…
Cancel
Save