From af983339bf6c08b6af404c71ce461b59fc4d03d8 Mon Sep 17 00:00:00 2001 From: kikuyan Date: Thu, 5 Aug 2021 12:48:47 +0900 Subject: [PATCH] update explanations --- youtube_dl/YoutubeDL.py | 3 ++- youtube_dl/options.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index fe30758ef..2b063dcb0 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -189,7 +189,8 @@ class YoutubeDL(object): listsubtitles: Lists all available subtitles for the video subtitlesformat: The format code for subtitles 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. skip_download: Skip the actual download of the video file cachedir: Location of the cache files in the filesystem. diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 4da03713a..4c93304e2 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -805,7 +805,7 @@ def parseOpts(overrideArguments=None): postproc.add_option( '-k', '--keep-files', '--keep-video', action='store_true', dest='keepvideo', default=False, - help='Keep original files on disk after the post-processing; original files (videos/subtitles) are erased by default') + help='Keep original files on disk after the post-processing; original files (videos, subtitles) are erased by default') postproc.add_option( '--no-post-overwrites', action='store_true', dest='nopostoverwrites', default=False,