[ie/youtube:clip] Prioritize `https` formats (#11102)

Closes #10856
Authored by: bashonly
pull/11107/head
bashonly 2 months ago committed by GitHub
parent 9f5c9a9089
commit 1d84b780cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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'),
}

Loading…
Cancel
Save