diff options
author | David A Roberts <d@vidr.cc> | 2016-08-14 21:40:28 +1000 |
---|---|---|
committer | David A Roberts <d@vidr.cc> | 2016-08-14 22:09:29 +1000 |
commit | 413e143707f9b573d8740cae92152e54df8fdfcd (patch) | |
tree | 20c4b94ebe843577b620c67146d93f7d4de1fb38 /searx/results.py | |
parent | 104cdb7d03771d4eca5b5126532ccf47642bb9de (diff) | |
download | searxng-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.py | 2 |
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 |