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] add instant answers to google engine
Adam Tauber0d4da30c7f91
diff --git a/searx/engines/google.py b/searx/engines/google.pyindex 803cd307e..2fa638d73 100644--- a/searx/engines/google.py+++ b/searx/engines/google.py@@ -217,6 +217,10 @@ def response(resp):# convert the text to domdom = html.fromstring(resp.text)+ instant_answer = dom.xpath('//div[@id="_vBb"]//text()')+ if instant_answer:+ results.append({'answer': u' '.join(instant_answer)})+# parse resultsfor result in dom.xpath(results_xpath):try: