commit: 8b7783e703e3af39ffbf72bcd25bb4f6c3372e73
parent 00b8aa113f874b531daed90c5bccbf4308153b03
Author: Popolon <github@popolon.org>
Date: Sat, 11 Aug 2018 22:23:09 +0200
Merge branch 'master' into master
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/searx/settings.yml b/searx/settings.yml
@@ -192,10 +192,9 @@ engines:
engine : xpath
paging : True
search_url : http://etymonline.com/?search={query}&p={pageno}
- url_xpath : //dt/a[1]/@href
- title_xpath : //dt
- content_xpath : //dd
- suggestion_xpath : //a[@class="crossreference"]
+ url_xpath : //a[contains(@class, "word--")]/@href
+ title_xpath : //p[contains(@class, "word__name--")]/text()
+ content_xpath : //section[contains(@class, "word__defination")]/object
first_page_num : 0
shortcut : et
disabled : True