on master help sign in
[fix] don't merge results with distinct fragments
413e143David A Roberts
searx/results.py+1−1
@@ -28,7 +28,7 @@ def compare_urls(url_a, url_b):
28 else:
28 else:
29 host_b = url_b.netloc
29 host_b = url_b.netloc
30
30
31− if host_a != host_b or url_a.query != url_b.query:
31+ if host_a != host_b or url_a.query != url_b.query or url_a.fragment != url_b.fragment:
32 return False
32 return False
33
33
34 # remove / from the end of the url if required
34 # remove / from the end of the url if required