The website has returned a CAPTCHA.
Definition at line 86 of file exceptions.py.
◆ __init__()
searx.exceptions.SearxEngineCaptchaException.__init__ |
( |
| self, |
|
|
int | None | suspended_time = None, |
|
|
| message = 'CAPTCHA' ) |
Generic exception to raise when an engine denies access to the results.
:param suspended_time: How long the engine is going to be suspended in
second. Defaults to None.
:type suspended_time: int, None
:param message: Internal message. Defaults to ``Access denied``
:type message: str
Reimplemented from searx.exceptions.SearxEngineAccessDeniedException.
Definition at line 93 of file exceptions.py.
93 def __init__(self, suspended_time: int | None = None, message='CAPTCHA'):
94 super().__init__(message=message, suspended_time=suspended_time)
95
96
◆ SUSPEND_TIME_SETTING
str searx.exceptions.SearxEngineCaptchaException.SUSPEND_TIME_SETTING = "search.suspended_times.SearxEngineCaptcha" |
|
static |
The documentation for this class was generated from the following file: