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
[fix] 360search: improve empty results set management and increase engine timeout (#6058)
Tommaso Colella849e17e4317f
diff --git a/searx/engines/360search.py b/searx/engines/360search.pyindex 5aad7eb9f..900d59082 100644--- a/searx/engines/360search.py+++ b/searx/engines/360search.py@@ -84,6 +84,10 @@ def request(query, params):def response(resp):+ # sometimes 360search returns empty response when called from non-chinese ips+ if not resp.text or not resp.text.strip():+ return []+dom = html.fromstring(resp.text)results = []diff --git a/searx/settings.yml b/searx/settings.ymlindex a73f6af86..6fe0cd1a8 100644--- a/searx/settings.yml+++ b/searx/settings.yml@@ -302,7 +302,7 @@ engines:- name: 360searchengine: 360searchshortcut: 360so- timeout: 10.0+ timeout: 20.0disabled: true- name: 360search videos