Browse Source

Merge pull request #1301 from kvch/fix-gigablast-engine

Fix Gigablast engine
Adam Tauber 6 years ago
parent
commit
b25dccd1ae
No account linked to committer's email
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      searx/engines/gigablast.py

+ 2
- 0
searx/engines/gigablast.py View File

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