Spot: Google Images crashes
spot_1 | [2021-11-11 08:49:36 +0000] [1] [INFO] Starting gunicorn 20.0.4
spot_1 | [2021-11-11 08:49:36 +0000] [1] [INFO] Listening at: http://0.0.0.0:80 (1)
spot_1 | [2021-11-11 08:49:36 +0000] [1] [INFO] Using worker: sync
spot_1 | [2021-11-11 08:49:36 +0000] [7] [INFO] Booting worker with pid: 7
spot_1 | [2021-11-11 08:49:36 +0000] [7] [INFO] load the default settings from /usr/local/lib/python3.9/site-packages/searx/settings.yml
spot_1 | [2021-11-11 08:49:36 +0000] [7] [INFO] Initialisation done
spot_1 | [2021-11-11 08:49:37 +0000] [7] [INFO] 29 rules loaded
spot_1 | [2021-11-11 08:49:37 +0000] [7] [INFO] Use shared_simple implementation
spot_1 | [2021-11-11 08:49:37 +0000] [7] [INFO] max_request_timeout=None
spot_1 | [2021-11-11 08:49:37 +0000] [7] [INFO] Send SIGUSR1 signal to pid 7 to start the checker
spot_1 | [2021-11-11 08:49:37 +0000] [7] [INFO] Checker scheduler is disabled
spot_1 | [2021-11-11 08:49:42 +0000] [7] [ERROR] engine google images : exception : 'list' object has no attribute 'get'
spot_1 | Traceback (most recent call last):
spot_1 | File "/usr/local/lib/python3.9/site-packages/searx/search/processors/online.py", line 139, in search
spot_1 | search_results = self._search_basic(query, params)
spot_1 | File "/usr/local/lib/python3.9/site-packages/searx/search/processors/online.py", line 109, in _search_basic
spot_1 | self.engine.request(query, params)
spot_1 | File "/usr/local/lib/python3.9/site-packages/searx/engines/google_images.py", line 101, in request
spot_1 | lang_info = get_lang_info(
spot_1 | File "/usr/local/lib/python3.9/site-packages/searx/engines/google.py", line 185, in get_lang_info
spot_1 | ret_val['params']['lr'] = "lang_" + lang_list.get(lang_country, language)
spot_1 | AttributeError: 'list' object has no attribute 'get'
spot_1 | [2021-11-11 08:50:21 +0000] [7] [ERROR] engine google images : exception : 'list' object has no attribute 'get'
spot_1 | Traceback (most recent call last):
spot_1 | File "/usr/local/lib/python3.9/site-packages/searx/search/processors/online.py", line 139, in search
spot_1 | search_results = self._search_basic(query, params)
spot_1 | File "/usr/local/lib/python3.9/site-packages/searx/search/processors/online.py", line 109, in _search_basic
spot_1 | self.engine.request(query, params)
spot_1 | File "/usr/local/lib/python3.9/site-packages/searx/engines/google_images.py", line 101, in request
Edited by Arnau Vàzquez