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
hide suggestions box if empty
Marc Abonce Seguin495ae59b31b6
diff --git a/searx/webapp.py b/searx/webapp.pyindex 7cf4106d3..212c874c9 100644--- a/searx/webapp.py+++ b/searx/webapp.py@@ -606,11 +606,11 @@ def index():# HTML output format# suggestions: use RawTextQuery to get the suggestion URLs with the same bang- suggestion_urls = map(lambda suggestion: {- 'url': raw_text_query.changeSearchQuery(suggestion).getFullQuery(),- 'title': suggestion- },- result_container.suggestions)+ suggestion_urls = list(map(lambda suggestion: {+ 'url': raw_text_query.changeSearchQuery(suggestion).getFullQuery(),+ 'title': suggestion+ },+ result_container.suggestions))correction_urls = list(map(lambda correction: {'url': raw_text_query.changeSearchQuery(correction).getFullQuery(),