Browse Source

[fix] urbandictionary html mods

asciimoo 11 years ago
parent
commit
4f12c95134
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      engines.cfg_sample

+ 3
- 3
engines.cfg_sample View File

@@ -64,9 +64,9 @@ categories = social media
64 64
 [urbandictionary]
65 65
 engine        = xpath
66 66
 search_url    = http://www.urbandictionary.com/define.php?term={query}
67
-url_xpath     = //div[@id="entries"]//div[@class="word"]/a/@href
68
-title_xpath   = //div[@id="entries"]//div[@class="word"]/span
69
-content_xpath = //div[@id="entries"]//div[@class="text"]/div[@class="definition"]
67
+url_xpath     = //div[@class="word"]//a/@href
68
+title_xpath   = //div[@class="word"]//a
69
+content_xpath = //div[@class="definition"]
70 70
 
71 71
 [yahoo]
72 72
 engine           = xpath