diff --git a/searx/engines/gigablast.py b/searx/engines/gigablast.py index cfc8e7159..3fef102f4 100644 --- a/searx/engines/gigablast.py +++ b/searx/engines/gigablast.py @@ -1,8 +1,8 @@ """ Gigablast (Web) - @website http://gigablast.com - @provide-api yes (http://gigablast.com/api.html) + @website https://gigablast.com + @provide-api yes (https://gigablast.com/api.html) @using-api yes @results XML @@ -22,8 +22,8 @@ paging = True number_of_results = 5 # search-url, invalid HTTPS certificate -base_url = 'http://gigablast.com/' -search_string = 'search?{query}&n={number_of_results}&s={offset}&xml=1&qh=0&uxid={uxid}&rand={rand}' +base_url = 'https://gigablast.com/' +search_string = 'search?{query}&n={number_of_results}&s={offset}&format=xml&qh=0&rxiyd={rxiyd}&rand={rand}' # specific xpath variables results_xpath = '//response//result' @@ -40,7 +40,7 @@ def request(query, params): query=urlencode({'q': query}), offset=offset, number_of_results=number_of_results, - uxid=randint(10000, 10000000), + rxiyd=randint(10000, 10000000), rand=int(time())) params['url'] = base_url + search_path