summaryrefslogtreecommitdiff
path: root/searx/search/__init__.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-03-25 09:37:37 +0100
committerAlexandre Flament <alex@al-f.net>2021-03-25 09:37:37 +0100
commit0b45afd4d7f23cbbc33376b861103f54c5c9f856 (patch)
tree2f794d533f6731c461ca83111563b492bc1eee91 /searx/search/__init__.py
parent06b754ad67aa6066aed6df77b5ffb74aabebb040 (diff)
downloadsearxng-0b45afd4d7f23cbbc33376b861103f54c5c9f856.tar.gz
searxng-0b45afd4d7f23cbbc33376b861103f54c5c9f856.zip
[fix] checker: various bug fixes
* initialize engine_data (youtube engine) * don't crash if an engine don't set result['url']
Diffstat (limited to 'searx/search/__init__.py')
-rw-r--r--searx/search/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/search/__init__.py b/searx/search/__init__.py
index 27c6c3a88..f777e8595 100644
--- a/searx/search/__init__.py
+++ b/searx/search/__init__.py
@@ -111,8 +111,6 @@ class Search:
if request_params is None:
continue
- request_params['engine_data'] = self.search_query.engine_data.get(engineref.name, {})
-
with threading.RLock():
processor.engine.stats['sent_search_count'] += 1