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] unescape htmlentities in wolframalpha_noapi's answer
a01200356576d37f25664
diff --git a/searx/engines/wolframalpha_noapi.py b/searx/engines/wolframalpha_noapi.pyindex a730ed60b..0f0315630 100644--- a/searx/engines/wolframalpha_noapi.py+++ b/searx/engines/wolframalpha_noapi.py@@ -12,6 +12,7 @@ from re import search, subfrom json import loadsfrom urllib import urlencodefrom lxml import html+import HTMLParser# search-urlurl = 'http://www.wolframalpha.com/'@@ -62,7 +63,11 @@ def response(resp):# extract answer from jsonanswer = line[line.find('{'):line.rfind('}')+1]answer = loads(answer.encode('unicode-escape'))- answer = answer['stringified'].decode('unicode-escape')+ answer = answer['stringified']++ # clean plaintext answer+ h = HTMLParser.HTMLParser()+ answer = h.unescape(answer.decode('unicode-escape'))answer = sub(r'\\', '', answer)results.append({'answer': answer})diff --git a/searx/settings.yml b/searx/settings.ymlindex 600c20c0d..63e944060 100644--- a/searx/settings.yml+++ b/searx/settings.yml@@ -305,9 +305,10 @@ engines:# You can use the engine using the official stable API, but you need an API key# See : http://products.wolframalpha.com/api/# engine : wolframalpha_api- # api_key: '5952JX-X52L3VKWT8' # required!+ # api_key: '' # required!engine : wolframalpha_noapitimeout: 6.0+ disabled : True#The blekko technology and team have joined IBM Watson! -> https://blekko.com/# - name : blekko images