From ad2ff1fda8aaaf313f5a1c6131d6bdf2adac9522 Mon Sep 17 00:00:00 2001 From: asciimoo Date: Sat, 19 Oct 2013 20:11:56 +0200 Subject: [PATCH] [fix] better url comparison --- searx/engines/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index dcdcbb09..d07efe98 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -96,7 +96,8 @@ def search(query, request, selected_engines): duplicated = False 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: + res['parsed_url'].path == new_res['parsed_url'].path and\ + res['parsed_url'].query == res['parsed_url'].query: duplicated = new_res break if duplicated: