← Winnitude! Search  ·  Reader Mode (596 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
DOCS.SEARXNG.ORG · 33 LINKS

SearXNG Exceptions - SearXNG Documentation (2026.12.6+8db8dcca1) Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode

SearXNG Exceptions

Exception types raised by SearXNG modules.

exception searx.exceptions. SearxException [source]

Base SearXNG exception.

exception searx.exceptions. SearxParameterException ( name : str , value : Any ) [source]

Raised when query miss a required parameter

final exception searx.exceptions. SearxSettingsException ( message : str | Exception , filename : str | None ) [source]

Error while loading the settings

exception searx.exceptions. SearxEngineException [source]

Error inside an engine

exception searx.exceptions. SearxXPathSyntaxException ( xpath_spec : str | XPath , message : str ) [source]

Syntax error in a XPATH

exception searx.exceptions. SearxEngineResponseException [source]

Impossible to parse the result of an engine

exception searx.exceptions. SearxEngineAPIException [source]

The website has returned an application error

exception searx.exceptions. SearxEngineAccessDeniedException ( suspended_time : int | None = None , message : str = 'Access denied' ) [source]

The website is blocking the access

SUSPEND_TIME_SETTING : str = 'search.suspended_times.SearxEngineAccessDenied'

This settings contains the default suspended time (default 86400 sec / 1 day).

exception searx.exceptions. SearxEngineCaptchaException ( suspended_time : int | None = None , message : str = 'CAPTCHA' ) [source]

The website has returned a CAPTCHA.

SUSPEND_TIME_SETTING : str = 'search.suspended_times.SearxEngineCaptcha'

This settings contains the default suspended time (default 86400 sec / 1 day).

exception searx.exceptions. SearxEngineTooManyRequestsException ( suspended_time : int | None = None , message : str = 'Too many request' ) [source]

The website has returned a Too Many Request status code

By default, SearXNG stops sending requests to this engine for 1 hour.

SUSPEND_TIME_SETTING : str = 'search.suspended_times.SearxEngineTooManyRequests'

This settings contains the default suspended time (default 3660 sec / 1 hour).

exception searx.exceptions. SearxEngineXPathException ( xpath_spec : str | XPath , message : str ) [source]

Error while getting the result of an XPath expression