summaryrefslogtreecommitdiff
path: root/searx/botdetection
diff options
context:
space:
mode:
authorjazzzooo <38244149+jazzzooo@users.noreply.github.com>2023-09-15 00:53:03 -0700
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-09-18 16:20:27 +0200
commit223b3487c38a2390ad936943266a44da9cbb810a (patch)
tree6dde6498a4c37731427715d01b6314b09be52897 /searx/botdetection
parenta9b6963971327605db1509795be7795dc7401f3f (diff)
downloadsearxng-223b3487c38a2390ad936943266a44da9cbb810a.tar.gz
searxng-223b3487c38a2390ad936943266a44da9cbb810a.zip
[fix] spelling
Diffstat (limited to 'searx/botdetection')
-rw-r--r--searx/botdetection/ip_limit.py2
-rw-r--r--searx/botdetection/limiter.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/searx/botdetection/ip_limit.py b/searx/botdetection/ip_limit.py
index d0605dcfb..70863265e 100644
--- a/searx/botdetection/ip_limit.py
+++ b/searx/botdetection/ip_limit.py
@@ -32,7 +32,7 @@ To intercept bots that get their IPs from a range of IPs, there is a
for a longer time. IPs stored in this sliding window have a maximum of
:py:obj:`SUSPICIOUS_IP_MAX` accesses before they are blocked. As soon as the IP
makes a request that is not suspicious, the sliding window for this IP is
-droped.
+dropped.
.. _X-Forwarded-For:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For
diff --git a/searx/botdetection/limiter.py b/searx/botdetection/limiter.py
index 366665854..f8509d5a6 100644
--- a/searx/botdetection/limiter.py
+++ b/searx/botdetection/limiter.py
@@ -71,7 +71,7 @@ LIMITER_CFG_SCHEMA = Path(__file__).parent / "limiter.toml"
"""Base configuration (schema) of the botdetection."""
LIMITER_CFG = Path('/etc/searxng/limiter.toml')
-"""Lokal Limiter configuration."""
+"""Local Limiter configuration."""
CFG_DEPRECATED = {
# "dummy.old.foo": "config 'dummy.old.foo' exists only for tests. Don't use it in your real project config."