]> jfr.im git - yt-dlp.git/blobdiff - youtube_dlc/options.py
Update to release 2020.11.24 except youtube and skyit extractors
[yt-dlp.git] / youtube_dlc / options.py
index 1d7a7fed2bc89035d86743c663d467a8eec8a384..9ad8a6dddea6b2807be5f2de781bba021e3fc8a5 100644 (file)
@@ -344,6 +344,10 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser):
         '--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',
@@ -582,7 +586,7 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser):
             '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')