From e245cade255c53ea08c4a7c3c8ef9ae59231b4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Tiek=C3=B6tter?= Date: Fri, 21 Nov 2025 11:20:10 +0100 Subject: [PATCH] [fix] engines: typo (#5466) Fix typo in engine timeout definition: 'timout' -> 'timeout' --- searx/engines/presearch.py | 2 +- searx/engines/seznam.py | 2 +- 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 = {