commit: b843c1351aa7ba22d5f37b8fd5412b07ee622239
parent 8a68cd2dcd6ec3116c6086300a3380f9d9a4f735
Author: Noémi Ványi <sitbackandwait@gmail.com>
Date: Wed, 16 May 2018 22:26:32 +0200
add missing parameter to gigablast search url
Closes #1293
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)