SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
don't raise error when nothing was found
tae64cca8c3f58
diff --git a/searx/engines/wttr.py b/searx/engines/wttr.pyindex 3c7b0927d..60e91114f 100644--- a/searx/engines/wttr.py+++ b/searx/engines/wttr.py@@ -82,12 +82,17 @@ def request(query, params):params["url"] = url.format(query=quote(query), lang=params["language"])+ params["raise_for_httperror"] = False+return paramsdef response(resp):results = []+ if resp.status_code == 404:+ return []+result = loads(resp.text)current = result["current_condition"][0]