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] rewrite scheme to http if there is no one, FIX #390
Thomas Pointhuber5bffa9ca33f8
diff --git a/searx/search.py b/searx/search.pyindex 6288a46eb..1bf05f7f9 100644--- a/searx/search.py+++ b/searx/search.py@@ -206,6 +206,10 @@ def score_results(results):# if there is no duplicate found, append resultelse:res['score'] = score+ # if the result has no scheme, use http as default+ if res['parsed_url'].scheme == '':+ res['parsed_url'] = res['parsed_url']._replace(scheme="http")+results.append(res)results = sorted(results, key=itemgetter('score'), reverse=True)