aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-08-26 08:25:56 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-08-26 08:27:29 +0530
commitc311988d19abaa35e935617df3bcfc42ac3aeb61 (patch)
treead68517d33a987c2dff949d65aafeb37a20d8888
parent26e8e04454d28b623c16f34496e31752086ff457 (diff)
downloadhypervideo-pre-c311988d19abaa35e935617df3bcfc42ac3aeb61.tar.lz
hypervideo-pre-c311988d19abaa35e935617df3bcfc42ac3aeb61.tar.xz
hypervideo-pre-c311988d19abaa35e935617df3bcfc42ac3aeb61.zip
[youtube] Improve 26e8e04454d28b623c16f34496e31752086ff457
The streams of the same itag may have slightly different size/bitrate
-rw-r--r--yt_dlp/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py
index 80c3cc05e..de7ff3258 100644
--- a/yt_dlp/extractor/youtube.py
+++ b/yt_dlp/extractor/youtube.py
@@ -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: