forked from zaclys/searxng
[fix] update gigablast engine
This commit is contained in:
parent
1057e42cfd
commit
bbe4442a86
@ -35,8 +35,8 @@ search_string = 'search?{query}'\
|
|||||||
'&ff={safesearch}'\
|
'&ff={safesearch}'\
|
||||||
'&rxiec={rxieu}'\
|
'&rxiec={rxieu}'\
|
||||||
'&ulse={ulse}'\
|
'&ulse={ulse}'\
|
||||||
'&rand={rxikd}' # current unix timestamp
|
'&rand={rxikd}'\
|
||||||
|
'&dbez={dbez}'
|
||||||
# specific xpath variables
|
# specific xpath variables
|
||||||
results_xpath = '//response//result'
|
results_xpath = '//response//result'
|
||||||
url_xpath = './/url'
|
url_xpath = './/url'
|
||||||
@ -70,7 +70,8 @@ def request(query, params):
|
|||||||
rxieu=random.randint(1000000000, 9999999999),
|
rxieu=random.randint(1000000000, 9999999999),
|
||||||
ulse=random.randint(100000000, 999999999),
|
ulse=random.randint(100000000, 999999999),
|
||||||
lang=language,
|
lang=language,
|
||||||
safesearch=safesearch)
|
safesearch=safesearch,
|
||||||
|
dbez=random.randint(100000000, 999999999))
|
||||||
|
|
||||||
params['url'] = base_url + search_path
|
params['url'] = base_url + search_path
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user