Add --break-on-existing by @gergesh

Authored-by: Yoav Shai <gergesh@gmail.com>
This commit is contained in:
pukkandan
2020-09-21 20:56:18 +05:30
committed by pukkandan
parent d052b9a112
commit ea6e0c2b0d
4 changed files with 15 additions and 2 deletions

View File

@@ -344,6 +344,10 @@ def parseOpts(overrideArguments=None):
'--download-archive', metavar='FILE',
dest='download_archive',
help='Download only videos not listed in the archive file. Record the IDs of all downloaded videos in it.')
selection.add_option(
'--break-on-existing',
action='store_true', dest='break_on_existing', default=False,
help="Stop the download process after attempting to download a file that's in the archive.")
selection.add_option(
'--include-ads',
dest='include_ads', action='store_true',