diff options
author | Tom-Oliver Heidel <github@tom-oliver.eu> | 2020-11-30 02:46:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 02:46:10 +0100 |
commit | 9e4043faa99609ac16d279a5f8d5fc22b23f0c8e (patch) | |
tree | 2c052847cd85fdf3ac33176a7d0109c79b518c45 /youtube_dlc/options.py | |
parent | 5867a1678924ad25a4784abfa5dbd28b5b69eb67 (diff) | |
parent | 94c29091d049f48962c3e81a1b5b0237ab54827d (diff) | |
download | hypervideo-pre-9e4043faa99609ac16d279a5f8d5fc22b23f0c8e.tar.lz hypervideo-pre-9e4043faa99609ac16d279a5f8d5fc22b23f0c8e.tar.xz hypervideo-pre-9e4043faa99609ac16d279a5f8d5fc22b23f0c8e.zip |
Merge branch 'master' into rcs
Diffstat (limited to 'youtube_dlc/options.py')
-rw-r--r-- | youtube_dlc/options.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py index 1d7a7fed2..9ad8a6ddd 100644 --- a/youtube_dlc/options.py +++ b/youtube_dlc/options.py @@ -345,6 +345,10 @@ def parseOpts(overrideArguments=None): 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', help='Download advertisements as well (experimental)') @@ -582,7 +586,7 @@ def parseOpts(overrideArguments=None): 'along with --min-sleep-interval.')) workarounds.add_option( '--sleep-subtitles', - dest='sleep_interval_subtitles', action='store_true', default=False, + dest='sleep_interval_subtitles', default=0, type=int, help='Enforce sleep interval on subtitles as well') verbosity = optparse.OptionGroup(parser, 'Verbosity / Simulation Options') |