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 = {