forked from zaclys/searxng
Merge pull request #1366 from kvch/fix-etymonline-engine
Fix etymonline engine
This commit is contained in:
commit
b8978b4bbf
|
@ -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