Commit 5dd2340b authored by Adam Tauber's avatar Adam Tauber

[fix] gigablast redirect - closes #575

parent 71d57df9
......@@ -31,9 +31,9 @@ search_string = 'search?{query}'\
'&s={offset}'\
'&format=json'\
'&qh=0'\
'&rxiwd={rxiwd}'\
'&qlang={lang}'\
'&ff={safesearch}'
'&ff={safesearch}'\
'&rxikd={rxikd}' # random number - 9 digits
# specific xpath variables
results_xpath = '//response//result'
......@@ -59,8 +59,7 @@ def request(query, params):
search_path = search_string.format(query=urlencode({'q': query}),
offset=offset,
number_of_results=number_of_results,
rxiwd=1,
# rand=int(time()),
rxikd=str(time())[:9],
lang=language,
safesearch=safesearch)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment