diff options
author | Adam Tauber <asciimoo@gmail.com> | 2019-10-16 15:27:37 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2019-10-16 15:27:37 +0200 |
commit | bbe4442a863b92767c71812acbe2ab72afaaeb54 (patch) | |
tree | e7aedc3392c80cbd9d8a0bb3fb2fc33ba4dca0d6 /searx | |
parent | 1057e42cfdc1e9ea4f49bc0da0af41de742db703 (diff) | |
download | searxng-bbe4442a863b92767c71812acbe2ab72afaaeb54.tar.gz searxng-bbe4442a863b92767c71812acbe2ab72afaaeb54.zip |
[fix] update gigablast engine
Diffstat (limited to 'searx')
-rw-r--r-- | searx/engines/gigablast.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/searx/engines/gigablast.py b/searx/engines/gigablast.py index a6aa5d718..6b0402233 100644 --- a/searx/engines/gigablast.py +++ b/searx/engines/gigablast.py @@ -35,8 +35,8 @@ search_string = 'search?{query}'\ '&ff={safesearch}'\ '&rxiec={rxieu}'\ '&ulse={ulse}'\ - '&rand={rxikd}' # current unix timestamp - + '&rand={rxikd}'\ + '&dbez={dbez}' # specific xpath variables results_xpath = '//response//result' url_xpath = './/url' @@ -70,7 +70,8 @@ def request(query, params): rxieu=random.randint(1000000000, 9999999999), ulse=random.randint(100000000, 999999999), lang=language, - safesearch=safesearch) + safesearch=safesearch, + dbez=random.randint(100000000, 999999999)) params['url'] = base_url + search_path |