summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Isakov <ukwt@ya.ru>2016-03-27 04:29:23 +0600
committerKirill Isakov <ukwt@ya.ru>2016-03-27 04:29:23 +0600
commit80813c3e056f0831c9e15cff2e94df9dede0a47a (patch)
treeff001979b4422b4f7e61c65bd8251c3536d4b771
parentc1d456b1366e339b09bd3744b45bf80da1e7d808 (diff)
downloadsearxng-80813c3e056f0831c9e15cff2e94df9dede0a47a.tar.gz
searxng-80813c3e056f0831c9e15cff2e94df9dede0a47a.zip
Add Erowid search engine
-rw-r--r--searx/settings.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 51e313205..c0324976c 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