mirror of
https://github.com/searxng/searxng.git
synced 2024-11-27 13:21:04 +00:00
fix xpath expressions for urban dictionary
This commit is contained in:
parent
8d4dd3c515
commit
baeb3ff911
1 changed files with 3 additions and 3 deletions
|
@ -450,9 +450,9 @@ engines:
|
||||||
# - name : urbandictionary
|
# - name : urbandictionary
|
||||||
# engine : xpath
|
# engine : xpath
|
||||||
# search_url : http://www.urbandictionary.com/define.php?term={query}
|
# search_url : http://www.urbandictionary.com/define.php?term={query}
|
||||||
# url_xpath : //div[@class="word"]//a/@href
|
# url_xpath : //*[@class="word"]/@href
|
||||||
# title_xpath : //div[@class="word"]//a
|
# title_xpath : //*[@class="def-header"]
|
||||||
# content_xpath : //div[@class="definition"]
|
# content_xpath : //*[@class="meaning"]
|
||||||
# shortcut : ud
|
# shortcut : ud
|
||||||
|
|
||||||
- name : yahoo
|
- name : yahoo
|
||||||
|
|
Loading…
Reference in a new issue