logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: baeb3ff9112e0a178733f20bd55ed4a4d0088a75
parent 8d4dd3c5153d8e2990c36d727c812df16c38764c
Author: firebovine <firebovine@gmail.com>
Date:   Sat, 10 Sep 2016 17:08:34 -0400

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