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
[enh] https support @ opensearch.xml
asciimood1e8c2365ef4
diff --git a/searx/webapp.py b/searx/webapp.pyindex a57702713..2bbaf8f86 100644--- a/searx/webapp.py+++ b/searx/webapp.py@@ -115,10 +115,13 @@ def stats():def opensearch():global opensearch_xmlmethod = 'post'+ scheme = 'http'# chrome/chromium only supports HTTP GET....if request.headers.get('User-Agent', '').lower().find('webkit') >= 0:method = 'get'- ret = opensearch_xml.format(method=method, host=url_for('index', _external=True))+ if request.headers.get('Host', '').find('https://'):+ scheme = 'https'+ ret = opensearch_xml.format(method=method, host=url_for('index', _external=True, _scheme=scheme))resp = Response(response=ret,status=200,mimetype="application/xml")