Added option --break-on-reject
and modified `--break-on-existing`
This commit is contained in:
parent
90505ff153
commit
8b0d7497d5
5 changed files with 84 additions and 56 deletions
|
|
@ -2433,6 +2433,16 @@ class PostProcessingError(YoutubeDLError):
|
|||
self.msg = msg
|
||||
|
||||
|
||||
class ExistingVideoReached(YoutubeDLError):
|
||||
""" --max-downloads limit has been reached. """
|
||||
pass
|
||||
|
||||
|
||||
class RejectedVideoReached(YoutubeDLError):
|
||||
""" --max-downloads limit has been reached. """
|
||||
pass
|
||||
|
||||
|
||||
class MaxDownloadsReached(YoutubeDLError):
|
||||
""" --max-downloads limit has been reached. """
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue