summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLéon Tiekötter <leon@tiekoetter.com>2025-11-21 11:20:10 +0100
committerGitHub <noreply@github.com>2025-11-21 11:20:10 +0100
commite245cade255c53ea08c4a7c3c8ef9ae59231b4cc (patch)
treea74801f6abbdd830ae970407d20f4d9b146676a8
parent7c223b32a77c5cf90070c0537cb09030408b0747 (diff)
[fix] engines: typo (#5466)
Fix typo in engine timeout definition: 'timout' -> 'timeout'
-rw-r--r--searx/engines/presearch.py2
-rw-r--r--searx/engines/seznam.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/presearch.py b/searx/engines/presearch.py
index c6abff115..141b292ab 100644
--- a/searx/engines/presearch.py
+++ b/searx/engines/presearch.py
@@ -140,7 +140,7 @@ def _get_request_id(query, params):
if l.territory:
headers['Accept-Language'] = f"{l.language}-{l.territory},{l.language};" "q=0.9,*;" "q=0.5"
- resp = get(url, headers=headers, timout=5)
+ resp = get(url, headers=headers, timeout=5)
for line in resp.text.split("\n"):
if "window.searchId = " in line:
diff --git a/searx/engines/seznam.py b/searx/engines/seznam.py
index 713697709..33f363fa2 100644
--- a/searx/engines/seznam.py
+++ b/searx/engines/seznam.py
@@ -27,7 +27,7 @@ base_url = 'https://search.seznam.cz/'
def request(query, params):
- response_index = get(base_url, headers=params['headers'], raise_for_httperror=True, timout=3)
+ response_index = get(base_url, headers=params['headers'], raise_for_httperror=True, timeout=3)
dom = html.fromstring(response_index.text)
url_params = {