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] google: decode urls before passing them onto results (#5674)
mg95277be51bc04d
diff --git a/searx/engines/google.py b/searx/engines/google.pyindex 95cc733d6..5148fcc41 100644--- a/searx/engines/google.py+++ b/searx/engines/google.py@@ -17,7 +17,7 @@ import reimport randomimport stringimport time-from urllib.parse import urlencode+from urllib.parse import urlencode, unquotefrom lxml import htmlimport babelimport babel.core@@ -373,7 +373,7 @@ def response(resp: "SXNG_Response"):if raw_url is None:logger.debug('ignoring item from the result_xpath list: missing url of title "%s"', title)continue- url = raw_url[7:].split('&sa=U')[0] # remove the google redirector+ url = unquote(raw_url[7:].split('&sa=U')[0]) # remove the google redirectorcontent_nodes = eval_xpath(result, './/div[contains(@data-sncf, "1")]')for item in content_nodes: