diff options
Diffstat (limited to 'searx')
-rw-r--r-- | searx/plugins/self_info.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/plugins/self_info.py b/searx/plugins/self_info.py index 75cbae0de..438274c41 100644 --- a/searx/plugins/self_info.py +++ b/searx/plugins/self_info.py @@ -29,6 +29,8 @@ p = re.compile('.*user[ -]agent.*', re.IGNORECASE) # request: flask request object # ctx: the whole local context of the pre search hook def post_search(request, ctx): + if ctx['search'].pageno > 1: + return True if ctx['search'].query == 'ip': x_forwarded_for = request.headers.getlist("X-Forwarded-For") if x_forwarded_for: |