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] wikipedia search added
asciimooe4b768b6ccc6
diff --git a/searx/engines/wikipedia.py b/searx/engines/wikipedia.pynew file mode 100644index 000000000..63520dbd9--- /dev/null+++ b/searx/engines/wikipedia.py@@ -0,0 +1,15 @@+from json import loads++def request(query, params):+ params['url'] = 'http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=%s&srprop=timestamp&format=json' % query++ return params+++def response(resp):+ search_results = loads(resp.text)+ results = []+ for res in search_results.get('query', {}).get('search', []):+ results.append({'url': 'https://en.wikipedia.org/wiki/%s' % res['title'], 'title': res['title']})+ return results+