[youtube] Improve 26e8e04454
The streams of the same itag may have slightly different size/bitrate
This commit is contained in:
parent
26e8e04454
commit
c311988d19
1 changed files with 1 additions and 1 deletions
|
@ -2819,7 +2819,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
|
|
||||||
# Source is given priority since formats that throttle are given lower source_preference
|
# Source is given priority since formats that throttle are given lower source_preference
|
||||||
# When throttling issue is fully fixed, remove this
|
# 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 []
|
keywords = get_first(video_details, 'keywords', expected_type=list) or []
|
||||||
if not keywords and webpage:
|
if not keywords and webpage:
|
||||||
|
|
Loading…
Reference in a new issue