summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2018-05-16 22:26:32 +0200
committerNoémi Ványi <sitbackandwait@gmail.com>2018-05-16 22:26:32 +0200
commitb843c1351aa7ba22d5f37b8fd5412b07ee622239 (patch)
tree3364ff9f5daa10a7849287fe457bd9ff48d71f5e /searx/engines
parent8a68cd2dcd6ec3116c6086300a3380f9d9a4f735 (diff)
downloadsearxng-b843c1351aa7ba22d5f37b8fd5412b07ee622239.tar.gz
searxng-b843c1351aa7ba22d5f37b8fd5412b07ee622239.zip
add missing parameter to gigablast search url
Closes #1293
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/gigablast.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/gigablast.py b/searx/engines/gigablast.py
index ed9380ec0..9b9b9bd77 100644
--- a/searx/engines/gigablast.py
+++ b/searx/engines/gigablast.py
@@ -34,6 +34,7 @@ search_string = 'search?{query}'\
'&qlang={lang}'\
'&ff={safesearch}'\
'&rxiec={rxieu}'\
+ '&ulse={ulse}'\
'&rand={rxikd}' # current unix timestamp
# specific xpath variables
@@ -64,6 +65,7 @@ def request(query, params):
number_of_results=number_of_results,
rxikd=int(time() * 1000),
rxieu=random.randint(1000000000, 9999999999),
+ ulse=random.randint(100000000, 999999999),
lang=language,
safesearch=safesearch)