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] remove html tags from qwant results
Adam Tauberc3dcebb778e7
diff --git a/searx/engines/qwant.py b/searx/engines/qwant.pyindex 872bd4e95..d8b084292 100644--- a/searx/engines/qwant.py+++ b/searx/engines/qwant.py@@ -10,9 +10,11 @@@parse url, title, content"""-from urllib import urlencode-from json import loadsfrom datetime import datetime+from json import loads+from urllib import urlencode++from searx.utils import html_to_text# engine dependent configcategories = None@@ -66,9 +68,9 @@ def response(resp):# parse resultsfor result in res.get('items', {}):- title = result['title']+ title = html_to_text(result['title'])res_url = result['url']- content = result['desc']+ content = html_to_text(result['desc'])if category_to_keyword.get(categories[0], '') == 'web':results.append({'title': title,