logo

searx

My custom branche(s) on searx, a meta-search engine
commit: bf09daa31d8dc517b0617178d28a5e9df384c869
parent: 3ff269c84c936a3ffc2e8e3168a4ac017047015b
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Fri, 13 Feb 2015 13:02:37 +0100

[enh] log redirects

Diffstat:

Msearx/search.py1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/searx/search.py b/searx/search.py @@ -90,6 +90,7 @@ def make_callback(engine_name, results_queue, callback, params): # check if redirect comparing to the True value, # because resp can be a Mock object, and any attribut name returns something. if response.is_redirect is True: + logger.debug('{0} redirect on: {1}'.format(engine_name, response)) return response.search_params = params