From 05206f86e31402d2bc6010c814446cb9ac114085 Mon Sep 17 00:00:00 2001 From: "Lorenzo J. Lucchini" Date: Thu, 7 Jul 2016 00:41:59 +0200 Subject: [PATCH] Adding Urban Dictionary xpath engine --- searx/settings.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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