diff options
author | Alexandre Flament <alex@al-f.net> | 2021-03-25 09:37:37 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-03-25 09:37:37 +0100 |
commit | 0b45afd4d7f23cbbc33376b861103f54c5c9f856 (patch) | |
tree | 2f794d533f6731c461ca83111563b492bc1eee91 /searx/search/processors | |
parent | 06b754ad67aa6066aed6df77b5ffb74aabebb040 (diff) | |
download | searxng-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/processors')
-rw-r--r-- | searx/search/processors/abstract.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/search/processors/abstract.py b/searx/search/processors/abstract.py index 3a853d49e..26dab069f 100644 --- a/searx/search/processors/abstract.py +++ b/searx/search/processors/abstract.py @@ -27,6 +27,7 @@ class EngineProcessor(ABC): params['pageno'] = search_query.pageno params['safesearch'] = search_query.safesearch params['time_range'] = search_query.time_range + params['engine_data'] = search_query.engine_data.get(self.engine_name, {}) if hasattr(self.engine, 'language') and self.engine.language: params['language'] = self.engine.language |