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] engine - brave don't show ads
jazzzooo8bcca0e620a4
diff --git a/searx/engines/brave.py b/searx/engines/brave.pyindex 13e262fa3..c713ffe50 100644--- a/searx/engines/brave.py+++ b/searx/engines/brave.py@@ -246,7 +246,7 @@ def _parse_search(resp):url = eval_xpath_getindex(result, './/a[contains(@class, "h")]/@href', 0, default=None)title_tag = eval_xpath_getindex(result, './/div[contains(@class, "title")]', 0, default=None)- if url is None or title_tag is None:+ if url is None or title_tag is None or not urlparse(url).netloc: # partial url likely means it's an adcontinuecontent_tag = eval_xpath_getindex(result, './/div[@class="snippet-description"]', 0, default='')