mirror of
https://github.com/searxng/searxng
synced 2024-11-03 09:40:20 +00:00
parent
8a68cd2dcd
commit
b843c1351a
@ -34,6 +34,7 @@ search_string = 'search?{query}'\
|
|||||||
'&qlang={lang}'\
|
'&qlang={lang}'\
|
||||||
'&ff={safesearch}'\
|
'&ff={safesearch}'\
|
||||||
'&rxiec={rxieu}'\
|
'&rxiec={rxieu}'\
|
||||||
|
'&ulse={ulse}'\
|
||||||
'&rand={rxikd}' # current unix timestamp
|
'&rand={rxikd}' # current unix timestamp
|
||||||
|
|
||||||
# specific xpath variables
|
# specific xpath variables
|
||||||
@ -64,6 +65,7 @@ def request(query, params):
|
|||||||
number_of_results=number_of_results,
|
number_of_results=number_of_results,
|
||||||
rxikd=int(time() * 1000),
|
rxikd=int(time() * 1000),
|
||||||
rxieu=random.randint(1000000000, 9999999999),
|
rxieu=random.randint(1000000000, 9999999999),
|
||||||
|
ulse=random.randint(100000000, 999999999),
|
||||||
lang=language,
|
lang=language,
|
||||||
safesearch=safesearch)
|
safesearch=safesearch)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user