summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2019-10-16 15:27:37 +0200
committerAdam Tauber <asciimoo@gmail.com>2019-10-16 15:27:37 +0200
commitbbe4442a863b92767c71812acbe2ab72afaaeb54 (patch)
treee7aedc3392c80cbd9d8a0bb3fb2fc33ba4dca0d6 /searx
parent1057e42cfdc1e9ea4f49bc0da0af41de742db703 (diff)
downloadsearxng-bbe4442a863b92767c71812acbe2ab72afaaeb54.tar.gz
searxng-bbe4442a863b92767c71812acbe2ab72afaaeb54.zip
[fix] update gigablast engine
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/gigablast.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/searx/engines/gigablast.py b/searx/engines/gigablast.py
index a6aa5d718..6b0402233 100644
--- a/searx/engines/gigablast.py
+++ b/searx/engines/gigablast.py
@@ -35,8 +35,8 @@ search_string = 'search?{query}'\
'&ff={safesearch}'\
'&rxiec={rxieu}'\
'&ulse={ulse}'\
- '&rand={rxikd}' # current unix timestamp
-
+ '&rand={rxikd}'\
+ '&dbez={dbez}'
# specific xpath variables
results_xpath = '//response//result'
url_xpath = './/url'
@@ -70,7 +70,8 @@ def request(query, params):
rxieu=random.randint(1000000000, 9999999999),
ulse=random.randint(100000000, 999999999),
lang=language,
- safesearch=safesearch)
+ safesearch=safesearch,
+ dbez=random.randint(100000000, 999999999))
params['url'] = base_url + search_path