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] merging only results with same rendering templates
asciimoo5e358ea9a9c3
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.pyindex 8339a13dc..ee215a6ef 100644--- a/searx/engines/__init__.py+++ b/searx/engines/__init__.py@@ -106,7 +106,8 @@ def search(query, request, selected_categories):for new_res in results:if res['parsed_url'].netloc == new_res['parsed_url'].netloc and\res['parsed_url'].path == new_res['parsed_url'].path and\- res['parsed_url'].query == new_res['parsed_url'].query:+ res['parsed_url'].query == new_res['parsed_url'].query and\+ res.get('template') == new_res.get('template'):duplicated = new_resbreakif duplicated: