forked from zaclys/searxng
follow up changes in etymonline XPATH engine
This commit is contained in:
parent
eea2e8e5f3
commit
5eeb3f2f01
|
@ -192,10 +192,9 @@ engines:
|
||||||
engine : xpath
|
engine : xpath
|
||||||
paging : True
|
paging : True
|
||||||
search_url : http://etymonline.com/?search={query}&p={pageno}
|
search_url : http://etymonline.com/?search={query}&p={pageno}
|
||||||
url_xpath : //dt/a[1]/@href
|
url_xpath : //a[contains(@class, "word--")]/@href
|
||||||
title_xpath : //dt
|
title_xpath : //p[contains(@class, "word__name--")]/text()
|
||||||
content_xpath : //dd
|
content_xpath : //section[contains(@class, "word__defination")]/object
|
||||||
suggestion_xpath : //a[@class="crossreference"]
|
|
||||||
first_page_num : 0
|
first_page_num : 0
|
||||||
shortcut : et
|
shortcut : et
|
||||||
disabled : True
|
disabled : True
|
||||||
|
|
Loading…
Reference in New Issue