Flag --abort-on to abort on given status codes

Closes #920.
This commit is contained in:
Alexander Graf committed 2021-02-13 19:23:14 +01:00
1 parent e15d67c065
commit a2d756b177
7 files changed
+67 -12

No files matched your search

+12
View File
@@ -64,3 +64,15 @@ class QueryReturnedNotFoundException(ConnectionException):
class TooManyRequestsException(ConnectionException):
pass
class AbortDownloadException(Exception):
"""
Exception that is not catched in the error catchers inside the download loop and so aborts the
download loop.
This exception is not a subclass of ``InstaloaderException``.
.. versionadded:: 4.7
"""
pass