浏览代码

add missing parameter to gigablast search url

Closes #1293
Noémi Ványi 6 年前
父节点
当前提交
b843c1351a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      searx/engines/gigablast.py

+ 2
- 0
searx/engines/gigablast.py 查看文件

@@ -34,6 +34,7 @@ search_string = 'search?{query}'\
34 34
     '&qlang={lang}'\
35 35
     '&ff={safesearch}'\
36 36
     '&rxiec={rxieu}'\
37
+    '&ulse={ulse}'\
37 38
     '&rand={rxikd}'  # current unix timestamp
38 39
 
39 40
 # specific xpath variables
@@ -64,6 +65,7 @@ def request(query, params):
64 65
                                        number_of_results=number_of_results,
65 66
                                        rxikd=int(time() * 1000),
66 67
                                        rxieu=random.randint(1000000000, 9999999999),
68
+                                       ulse=random.randint(100000000, 999999999),
67 69
                                        lang=language,
68 70
                                        safesearch=safesearch)
69 71