1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-19 11:39:28 +00:00
This commit is contained in:
Deleted user 2023-11-27 21:41:42 -05:00 committed by GitHub
commit ed22393911
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -456,6 +456,10 @@ def _real_main(argv=None):
'You must provide at least one URL.\n'
'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:
if opts.load_info_filename is not None:
retcode = ydl.download_with_info_file(expand_path(opts.load_info_filename))