summaryrefslogtreecommitdiff
path: root/engines.cfg_sample
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2014-01-12 18:48:01 +0100
committerasciimoo <asciimoo@gmail.com>2014-01-12 18:48:01 +0100
commit4f12c951344d3363978f43b1e03353c750efe015 (patch)
tree16fcc6e9b2cfe3624eb2e460bff6de13d8cd3e8e /engines.cfg_sample
parentfe32bc4120880fe94b8e6c5ae7f8c167b2f9cf23 (diff)
downloadsearxng-4f12c951344d3363978f43b1e03353c750efe015.tar.gz
searxng-4f12c951344d3363978f43b1e03353c750efe015.zip
[fix] urbandictionary html mods
Diffstat (limited to 'engines.cfg_sample')
-rw-r--r--engines.cfg_sample6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines.cfg_sample b/engines.cfg_sample
index a001c225e..f4f398051 100644
--- a/engines.cfg_sample
+++ b/engines.cfg_sample
@@ -64,9 +64,9 @@ categories = social media
[urbandictionary]
engine = xpath
search_url = http://www.urbandictionary.com/define.php?term={query}
-url_xpath = //div[@id="entries"]//div[@class="word"]/a/@href
-title_xpath = //div[@id="entries"]//div[@class="word"]/span
-content_xpath = //div[@id="entries"]//div[@class="text"]/div[@class="definition"]
+url_xpath = //div[@class="word"]//a/@href
+title_xpath = //div[@class="word"]//a
+content_xpath = //div[@class="definition"]
[yahoo]
engine = xpath