From 80813c3e056f0831c9e15cff2e94df9dede0a47a Mon Sep 17 00:00:00 2001 From: Kirill Isakov Date: Sun, 27 Mar 2016 04:29:23 +0600 Subject: [PATCH] Add Erowid search engine --- searx/settings.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index 51e31320..c0324976 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -82,6 +82,16 @@ engines: engine : digg shortcut : dg + - name : erowid + engine : xpath + search_url : https://www.erowid.org/search.php?q={query} + url_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/@href + title_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/text() + content_xpath : //dl[@class="results-list"]/dd[@class="result-details"] + categories : general + shortcut : ew + disabled : True + - name : wikidata engine : wikidata shortcut : wd