commit: 4f12c951344d3363978f43b1e03353c750efe015
parent: fe32bc4120880fe94b8e6c5ae7f8c167b2f9cf23
Author: asciimoo <asciimoo@gmail.com>
Date: Sun, 12 Jan 2014 18:48:01 +0100
[fix] urbandictionary html mods
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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