diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2024-09-26 18:26:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-26 23:26:10 +0000 |
commit | 1d84b780cf33a1d84756825ac23f990a905703df (patch) | |
tree | bd832c521f6854cda412899d69d3cc7f9a2c5954 | |
parent | 9f5c9a90898c5a1e672922d9cd799716c73cee34 (diff) |
[ie/youtube:clip] Prioritize `https` formats (#11102)
Closes #10856
Authored by: bashonly
-rw-r--r-- | yt_dlp/extractor/youtube.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index fc50dbc05..1382c01b6 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -7655,6 +7655,8 @@ class YoutubeClipIE(YoutubeTabBaseInfoExtractor): 'id': clip_id, 'section_start': int(clip_data['startTimeMs']) / 1000, 'section_end': int(clip_data['endTimeMs']) / 1000, + '_format_sort_fields': ( # https protocol is prioritized for ffmpeg compatibility + 'proto:https', 'quality', 'res', 'fps', 'hdr:12', 'source', 'vcodec:vp9.2', 'channels', 'acodec', 'lang'), } |