mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-04 13:54:25 -04:00
Add option --skip-playlist-after-errors
Allows to skip the rest of a playlist after a given number of errors are encountered
This commit is contained in:
@@ -395,6 +395,10 @@ def parseOpts(overrideArguments=None):
|
||||
'--break-on-reject',
|
||||
action='store_true', dest='break_on_reject', default=False,
|
||||
help='Stop the download process when encountering a file that has been filtered out')
|
||||
selection.add_option(
|
||||
'--skip-playlist-after-errors', metavar='N',
|
||||
dest='skip_playlist_after_errors', default=None, type=int,
|
||||
help='Number of allowed failures until the rest of the playlist is skipped')
|
||||
selection.add_option(
|
||||
'--no-download-archive',
|
||||
dest='download_archive', action="store_const", const=None,
|
||||
|
Reference in New Issue
Block a user