.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.botdetection Namespace Reference

Namespaces

namespace  _helpers
namespace  config
namespace  http_accept
namespace  http_accept_encoding
namespace  http_accept_language
namespace  http_connection
namespace  http_sec_fetch
namespace  http_user_agent
namespace  ip_limit
namespace  ip_lists
namespace  trusted_proxies
namespace  valkeydb

Functions

 init (config.Config cfg, valkey.Valkey|None valkey_client)

Variables

list __all__ = ["init", "dump_request", "get_network", "too_many_requests", "ProxyFix"]

Detailed Description

.. _botdetection src:

Implementations used for bot detection.

Function Documentation

◆ init()

searx.botdetection.init ( config.Config cfg,
valkey.Valkey | None valkey_client )

Definition at line 22 of file __init__.py.

22def init(cfg: config.Config, valkey_client: valkey.Valkey | None):
23 config.set_global_cfg(cfg)
24 if valkey_client:
25 valkeydb.set_valkey_client(valkey_client)

Variable Documentation

◆ __all__

list searx.botdetection.__all__ = ["init", "dump_request", "get_network", "too_many_requests", "ProxyFix"]
private

Definition at line 9 of file __init__.py.