summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorLorenzo J. Lucchini <LuccoJ@users.noreply.github.com>2016-07-07 00:41:59 +0200
committerfirebovine <firebovine@gmail.com>2016-09-10 17:42:19 -0400
commit05206f86e31402d2bc6010c814446cb9ac114085 (patch)
tree3af8a2472b2ae35d25dacc64e0cf657cdd4b0022 /searx
parenta8907224a1c433b1227fd707e9bb2524dd405109 (diff)
Adding Urban Dictionary xpath engine
Diffstat (limited to 'searx')
-rw-r--r--searx/settings.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 308a0bd45..2f1e8583b 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -494,6 +494,14 @@ engines:
engine : wolframalpha_noapi
timeout: 6.0
categories : science
+
+ - name : urbandictionary
+ engine : xpath
+ search_url : http://www.urbandictionary.com/define.php?term={query}
+ url_xpath : //*[@class="word"]/@href
+ title_xpath : //*[@class="word"]
+ content_xpath : //*[@class="meaning"]
+ shortcut : ud
- name : dictzone
engine : dictzone