summaryrefslogtreecommitdiff
path: root/searx/results.py
diff options
context:
space:
mode:
authorDavid A Roberts <d@vidr.cc>2016-08-14 21:40:28 +1000
committerDavid A Roberts <d@vidr.cc>2016-08-14 22:09:29 +1000
commit413e143707f9b573d8740cae92152e54df8fdfcd (patch)
tree20c4b94ebe843577b620c67146d93f7d4de1fb38 /searx/results.py
parent104cdb7d03771d4eca5b5126532ccf47642bb9de (diff)
downloadsearxng-413e143707f9b573d8740cae92152e54df8fdfcd.tar.gz
searxng-413e143707f9b573d8740cae92152e54df8fdfcd.zip
[fix] don't merge results with distinct fragments
Diffstat (limited to 'searx/results.py')
-rw-r--r--searx/results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/results.py b/searx/results.py
index 9a4ec0b28..32832f199 100644
--- a/searx/results.py
+++ b/searx/results.py
@@ -28,7 +28,7 @@ def compare_urls(url_a, url_b):
else:
host_b = url_b.netloc
- if host_a != host_b or url_a.query != url_b.query:
+ if host_a != host_b or url_a.query != url_b.query or url_a.fragment != url_b.fragment:
return False
# remove / from the end of the url if required