logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 390ad59bfcd256e9145d7ef539acaf3a83a73c8b
parent: 8d4dd3c5153d8e2990c36d727c812df16c38764c
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Sat, 10 Sep 2016 23:18:57 +0200

Merge pull request #694 from firebovine/urbandictionary

fix xpath expressions for urban dictionary

Diffstat:

Msearx/settings.yml6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/searx/settings.yml b/searx/settings.yml @@ -450,9 +450,9 @@ engines: # - name : urbandictionary # engine : xpath # search_url : http://www.urbandictionary.com/define.php?term={query} -# url_xpath : //div[@class="word"]//a/@href -# title_xpath : //div[@class="word"]//a -# content_xpath : //div[@class="definition"] +# url_xpath : //*[@class="word"]/@href +# title_xpath : //*[@class="def-header"] +# content_xpath : //*[@class="meaning"] # shortcut : ud - name : yahoo