Compare commits

...

2 Commits

Author SHA1 Message Date
Deleted user
9fea6a3cca
Merge ad419c540d into e1b3fa242c 2024-07-28 01:28:19 +09:00
kikuyan
ad419c540d warn --convert-sub with --skip-download 2021-08-13 11:28:04 +09:00

View File

@ -460,6 +460,10 @@ def _real_main(argv=None):
'You must provide at least one URL.\n' 'You must provide at least one URL.\n'
'Type youtube-dl --help to see a list of all options.') 'Type youtube-dl --help to see a list of all options.')
# Remove this `if` block when PR #9738 is finished
if opts.convertsubtitles and opts.skip_download:
ydl.report_warning('--convert-subs is a post-processing option and doesn\'t work with --skip-download')
try: try:
if opts.load_info_filename is not None: if opts.load_info_filename is not None:
retcode = ydl.download_with_info_file(expand_path(opts.load_info_filename)) retcode = ydl.download_with_info_file(expand_path(opts.load_info_filename))