[mod] engine mod - urbandictionary suspended

This commit is contained in:
Adam Tauber 2014-03-24 12:02:37 +01:00
parent a8a0de644d
commit c55f03baea
1 changed files with 8 additions and 7 deletions

View File

@ -109,13 +109,14 @@ engines:
# shortcut : unc # shortcut : unc
# url : https://uncyclopedia.wikia.com/ # url : https://uncyclopedia.wikia.com/
- name : urbandictionary # tmp suspended - too slow, too many errors
engine : xpath # - name : urbandictionary
search_url : http://www.urbandictionary.com/define.php?term={query} # engine : xpath
url_xpath : //div[@class="word"]//a/@href # search_url : http://www.urbandictionary.com/define.php?term={query}
title_xpath : //div[@class="word"]//a # url_xpath : //div[@class="word"]//a/@href
content_xpath : //div[@class="definition"] # title_xpath : //div[@class="word"]//a
shortcut : ud # content_xpath : //div[@class="definition"]
# shortcut : ud
- name : yahoo - name : yahoo
engine : yahoo engine : yahoo