commit: 05206f86e31402d2bc6010c814446cb9ac114085
parent a8907224a1c433b1227fd707e9bb2524dd405109
Author: Lorenzo J. Lucchini <LuccoJ@users.noreply.github.com>
Date: Thu, 7 Jul 2016 00:41:59 +0200
Adding Urban Dictionary xpath engine
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git 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