diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-06-12 00:06:31 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-06-12 00:07:54 +0200 |
commit | 5dd2340bc6b91cdc1d32b332ba63291a36ca1759 (patch) | |
tree | 8319659bfea86179c717038495d3762e9b7dba49 /searx/engines/gigablast.py | |
parent | 71d57df9d5e7e20f5ce83959ba9317e9e8931712 (diff) | |
download | searxng-5dd2340bc6b91cdc1d32b332ba63291a36ca1759.tar.gz searxng-5dd2340bc6b91cdc1d32b332ba63291a36ca1759.zip |
[fix] gigablast redirect - closes #575
Diffstat (limited to 'searx/engines/gigablast.py')
-rw-r--r-- | searx/engines/gigablast.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/searx/engines/gigablast.py b/searx/engines/gigablast.py index 1cc243104..6e4e24b68 100644 --- a/searx/engines/gigablast.py +++ b/searx/engines/gigablast.py @@ -31,9 +31,9 @@ search_string = 'search?{query}'\ '&s={offset}'\ '&format=json'\ '&qh=0'\ - '&rxiwd={rxiwd}'\ '&qlang={lang}'\ - '&ff={safesearch}' + '&ff={safesearch}'\ + '&rxikd={rxikd}' # random number - 9 digits # specific xpath variables results_xpath = '//response//result' @@ -59,8 +59,7 @@ def request(query, params): search_path = search_string.format(query=urlencode({'q': query}), offset=offset, number_of_results=number_of_results, - rxiwd=1, - # rand=int(time()), + rxikd=str(time())[:9], lang=language, safesearch=safesearch) |