This commit is contained in:
Deleted user 2024-07-28 01:28:01 +09:00 committed by GitHub
commit 7d3eae1dce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -221,7 +221,8 @@ class YoutubeDL(object):
listsubtitles: Lists all available subtitles for the video listsubtitles: Lists all available subtitles for the video
subtitlesformat: The format code for subtitles subtitlesformat: The format code for subtitles
subtitleslangs: List of languages of the subtitles to download subtitleslangs: List of languages of the subtitles to download
keepvideo: Keep the video file after post-processing keepvideo: Keep original files (videos, subtitles) after post-
processing
daterange: A DateRange object, download only if the upload_date is in the range. daterange: A DateRange object, download only if the upload_date is in the range.
skip_download: Skip the actual download of the video file skip_download: Skip the actual download of the video file
cachedir: Location of the cache files in the filesystem. cachedir: Location of the cache files in the filesystem.

View File

@ -811,9 +811,9 @@ def parseOpts(overrideArguments=None):
dest='postprocessor_args', metavar='ARGS', dest='postprocessor_args', metavar='ARGS',
help='Give these arguments to the postprocessor (if postprocessing is required)') help='Give these arguments to the postprocessor (if postprocessing is required)')
postproc.add_option( postproc.add_option(
'-k', '--keep-video', '-k', '--keep-files', '--keep-video',
action='store_true', dest='keepvideo', default=False, action='store_true', dest='keepvideo', default=False,
help='Keep the video file on disk after the post-processing; the video is erased by default') help='Keep original files on disk after the post-processing; original files (videos, subtitles) are erased by default')
postproc.add_option( postproc.add_option(
'--no-post-overwrites', '--no-post-overwrites',
action='store_true', dest='nopostoverwrites', default=False, action='store_true', dest='nopostoverwrites', default=False,