SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
Fix error if the user hasn't set api credentials
0xhtml275b37cc7c87
diff --git a/searx/engines/spotify.py b/searx/engines/spotify.pyindex da32b334c..57b08a1e4 100644--- a/searx/engines/spotify.py+++ b/searx/engines/spotify.py@@ -39,7 +39,7 @@ def request(query, params):'https://accounts.spotify.com/api/token',data={'grant_type': 'client_credentials'},headers={'Authorization': 'Basic ' + str(base64.b64encode(- (api_client_id + ":" + api_client_secret).encode('utf-8')+ "{}:{}".format(api_client_id, api_client_secret).encode('utf-8')), 'utf-8')})j = loads(r.text)