.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_user_agent
 
namespace  ip_limit
 
namespace  ip_lists
 
namespace  link_token
 

Functions

 init (_cfg, _redis_client)
 

Variables

list __all__ = ['dump_request', 'get_network', 'get_real_ip', 'too_many_requests']
 
 redis_client = None
 
 cfg = None
 

Detailed Description

.. _botdetection src:

Implementations used for bot detection.

Function Documentation

◆ init()

searx.botdetection.init ( _cfg,
_redis_client )

Definition at line 19 of file __init__.py.

19def init(_cfg, _redis_client):
20 global redis_client, cfg # pylint: disable=global-statement
21 redis_client = _redis_client
22 cfg = _cfg

Variable Documentation

◆ __all__

list searx.botdetection.__all__ = ['dump_request', 'get_network', 'get_real_ip', 'too_many_requests']
private

Definition at line 13 of file __init__.py.

◆ cfg

searx.botdetection.cfg = None

Definition at line 16 of file __init__.py.

◆ redis_client

searx.botdetection.redis_client = None

Definition at line 15 of file __init__.py.