summaryrefslogtreecommitdiff
path: root/searx/plugins/tracker_url_remover.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/plugins/tracker_url_remover.py')
-rw-r--r--searx/plugins/tracker_url_remover.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/plugins/tracker_url_remover.py b/searx/plugins/tracker_url_remover.py
index 8cc063bba..9e18867b9 100644
--- a/searx/plugins/tracker_url_remover.py
+++ b/searx/plugins/tracker_url_remover.py
@@ -30,6 +30,9 @@ preference_section = 'privacy'
def on_result(request, search, result):
+ if 'parsed_url' not in result:
+ return True
+
query = result['parsed_url'].query
if query == "":