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] xpath, mojeek: fix commit 58d72f26925d56e22330c54be03c3dcbee0c4135
Alexandre Flamentd41cafd5f355
diff --git a/searx/engines/xpath.py b/searx/engines/xpath.pyindex d420e250a..1507176ec 100644--- a/searx/engines/xpath.py+++ b/searx/engines/xpath.py@@ -7,7 +7,6 @@ url_xpath = Nonecontent_xpath = Nonetitle_xpath = Nonethumbnail_xpath = False-categories = []paging = Falsesuggestion_xpath = ''results_xpath = ''@@ -39,7 +38,7 @@ def request(query, params):def response(resp):results = []dom = html.fromstring(resp.text)- is_onion = True if 'onions' in categories else False+ is_onion = True if 'onions' in categories else False # pylint: disable=undefined-variableif results_xpath:for result in eval_xpath_list(dom, results_xpath):