Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[enh] display error message if gigablast extra param expired

Adam Tauber34ad3d6b3401
diff --git a/searx/engines/gigablast.py b/searx/engines/gigablast.py
index 5af593e36..2bb29a9fe 100644
--- a/searx/engines/gigablast.py
+++ b/searx/engines/gigablast.py
@@ -99,7 +99,7 @@ def response(resp):
response_json = loads(resp.text)
except:
parse_extra_param(resp.text)
- return results
+ raise Exception('extra param expired, please reload')
for result in response_json['results']:
# append result