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
[enh] central handling of empty result titles
Adam Tauberd80fb2c8e899
diff --git a/searx/webapp.py b/searx/webapp.pyindex 352a49fb6..cdac52a45 100644--- a/searx/webapp.py+++ b/searx/webapp.py@@ -435,7 +435,8 @@ def index():if 'content' in result and result['content']:result['content'] = highlight_content(escape(result['content'][:1024]),search_query.query.encode('utf-8'))- result['title'] = highlight_content(escape(result['title']), search_query.query.encode('utf-8'))+ result['title'] = highlight_content(escape(result['title'] or u''),+ search_query.query.encode('utf-8'))else:if result.get('content'):result['content'] = html_to_text(result['content']).strip()