summaryrefslogtreecommitdiff
path: root/searx/engines/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/__init__.py')
-rw-r--r--searx/engines/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py
index 85c9be4d8..629e170b7 100644
--- a/searx/engines/__init__.py
+++ b/searx/engines/__init__.py
@@ -130,6 +130,10 @@ def search(query, request, selected_engines):
req = grequests.post
request_args['data'] = request_params['data']
+ # ignoring empty urls
+ if not request_params['url']:
+ continue
+
requests.append(req(request_params['url'], **request_args))
grequests.map(requests)
for engine_name,engine_results in results.items():