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] unicode response in deezer and spotify
Adam Taubere12a137a2fd6
diff --git a/searx/engines/deezer.py b/searx/engines/deezer.pyindex 8e87bbeec..3db1af3d2 100644--- a/searx/engines/deezer.py+++ b/searx/engines/deezer.py@@ -51,7 +51,7 @@ def response(resp):if url.startswith('http://'):url = 'https' + url[4:]- content = '{} - {} - {}'.format(+ content = u'{} - {} - {}'.format(result['artist']['name'],result['album']['title'],result['title'])diff --git a/searx/engines/spotify.py b/searx/engines/spotify.pyindex 0e8e69961..249ba91ef 100644--- a/searx/engines/spotify.py+++ b/searx/engines/spotify.py@@ -46,7 +46,7 @@ def response(resp):if result['type'] == 'track':title = result['name']url = result['external_urls']['spotify']- content = '{} - {} - {}'.format(+ content = u'{} - {} - {}'.format(result['artists'][0]['name'],result['album']['name'],result['name'])