1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-01 07:05:14 +00:00

Add experimental option --check-formats to test the URLs before format selection

This commit is contained in:
pukkandan
2021-05-04 21:24:00 +05:30
parent e625be0d10
commit e8e738406a
5 changed files with 76 additions and 31 deletions

View File

@@ -471,6 +471,7 @@ def _real_main(argv=None):
'format_sort_force': opts.format_sort_force,
'allow_multiple_video_streams': opts.allow_multiple_video_streams,
'allow_multiple_audio_streams': opts.allow_multiple_audio_streams,
'check_formats': opts.check_formats,
'listformats': opts.listformats,
'listformats_table': opts.listformats_table,
'outtmpl': outtmpl,