Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
searx-engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
searx-engine
Commits
bbe4442a
Commit
bbe4442a
authored
Oct 16, 2019
by
Adam Tauber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] update gigablast engine
parent
1057e42c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
gigablast.py
searx/engines/gigablast.py
+4
-3
No files found.
searx/engines/gigablast.py
View file @
bbe4442a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment