diff options
author | Noémi Ványi <sitbackandwait@gmail.com> | 2019-09-23 17:14:32 +0200 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2019-10-16 15:52:48 +0200 |
commit | a6f20caf32af463b57a026ee7cb7ed6317db6b8b (patch) | |
tree | c180f804d1a80767ab50b7cffb42aa75f9c3806a /searx/plugins/tracker_url_remover.py | |
parent | 2946c5f10695634be1f1266142bec5572139085f (diff) | |
download | searxng-a6f20caf32af463b57a026ee7cb7ed6317db6b8b.tar.gz searxng-a6f20caf32af463b57a026ee7cb7ed6317db6b8b.zip |
add initial support for offline engines && command engine
Diffstat (limited to 'searx/plugins/tracker_url_remover.py')
-rw-r--r-- | searx/plugins/tracker_url_remover.py | 3 |
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 == "": |