mirror of https://github.com/searxng/searxng.git
[enh] urbandictionary xpath engine added
This commit is contained in:
parent
5d764f95cf
commit
43f5fcea80
|
@ -5,6 +5,7 @@ number_of_results = 1
|
||||||
|
|
||||||
[bing]
|
[bing]
|
||||||
engine = bing
|
engine = bing
|
||||||
|
language = en-us
|
||||||
|
|
||||||
[deviantart]
|
[deviantart]
|
||||||
engine = deviantart
|
engine = deviantart
|
||||||
|
@ -47,6 +48,13 @@ engine = startpage
|
||||||
engine = twitter
|
engine = twitter
|
||||||
categories = social media
|
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
|
||||||
|
title_xpath = //div[@id="entries"]//div[@class="word"]//span//text()
|
||||||
|
content_xpath = //div[@id="entries"]//div[@class="text"]//div[@class="definition"]//text()
|
||||||
|
|
||||||
[yahoo]
|
[yahoo]
|
||||||
engine = xpath
|
engine = xpath
|
||||||
search_url = http://search.yahoo.com/search?p={query}
|
search_url = http://search.yahoo.com/search?p={query}
|
||||||
|
|
Loading…
Reference in New Issue