1
0
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-16 14:36:47 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
M.K.
36b2fffae1
Merge 4897a7e529 into c5098961b0 2024-10-18 17:21:32 +00:00
mk-pmb
4897a7e529 [doc] Explain that the opposite of --no-overwrites is --no-continue. 2024-10-18 19:21:25 +02:00
2 changed files with 7 additions and 4 deletions

View File

@ -255,12 +255,15 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo
--restrict-filenames Restrict filenames to only ASCII --restrict-filenames Restrict filenames to only ASCII
characters, and avoid "&" and spaces in characters, and avoid "&" and spaces in
filenames filenames
-w, --no-overwrites Do not overwrite files -w, --no-overwrites Do not overwrite files. (For the
opposite, see --no-continue.)
-c, --continue Force resume of partially downloaded -c, --continue Force resume of partially downloaded
files. By default, youtube-dl will files. By default, youtube-dl will
resume downloads if possible. resume downloads if possible.
--no-continue Do not resume partially downloaded --no-continue Do not resume partially downloaded
files (restart from beginning) files: Instead, restart from the
beginning and ruthlessly overwrite
existing files.
--no-part Do not use .part files - write directly --no-part Do not use .part files - write directly
into output file into output file
--no-mtime Do not use the Last-modified header to --no-mtime Do not use the Last-modified header to

View File

@ -724,7 +724,7 @@ def parseOpts(overrideArguments=None):
filesystem.add_option( filesystem.add_option(
'-w', '--no-overwrites', '-w', '--no-overwrites',
action='store_true', dest='nooverwrites', default=False, action='store_true', dest='nooverwrites', default=False,
help='Do not overwrite files') help='Do not overwrite files. (For the opposite, see --no-continue.)')
filesystem.add_option( filesystem.add_option(
'-c', '--continue', '-c', '--continue',
action='store_true', dest='continue_dl', default=True, action='store_true', dest='continue_dl', default=True,
@ -732,7 +732,7 @@ def parseOpts(overrideArguments=None):
filesystem.add_option( filesystem.add_option(
'--no-continue', '--no-continue',
action='store_false', dest='continue_dl', action='store_false', dest='continue_dl',
help='Do not resume partially downloaded files (restart from beginning)') help='Do not resume partially downloaded files: Instead, restart from the beginning and ruthlessly overwrite existing files.')
filesystem.add_option( filesystem.add_option(
'--no-part', '--no-part',
action='store_true', dest='nopart', default=False, action='store_true', dest='nopart', default=False,