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] pep8
Adam Tauber52a817f5c1e8
diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.pyindex ec2858e69..58cbc9872 100644--- a/searx/engines/duckduckgo.py+++ b/searx/engines/duckduckgo.py@@ -5,6 +5,7 @@ from searx.utils import html_to_texturl = 'https://duckduckgo.com/html?{query}&s={offset}'locale = 'us-en'+def request(query, params):offset = (params['pageno'] - 1) * 30q = urlencode({'q': query,@@ -14,7 +15,7 @@ def request(query, params):def response(resp):- result_xpath = '//div[@class="results_links results_links_deep web-result"]'+ result_xpath = '//div[@class="results_links results_links_deep web-result"]' # noqaurl_xpath = './/a[@class="large"]/@href'title_xpath = './/a[@class="large"]//text()'content_xpath = './/div[@class="snippet"]//text()'