mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 20:38:11 -05:00
[ie/youtube:clip] Prioritize https
formats (#11102)
Closes #10856 Authored by: bashonly
This commit is contained in:
parent
9f5c9a9089
commit
1d84b780cf
1 changed files with 2 additions and 0 deletions
|
@ -7655,6 +7655,8 @@ def _real_extract(self, url):
|
|||
'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'),
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue