on master help sign in
follow up changes in etymonline XPATH engine
commit5eeb3f2f01faf37f63a67b72d103268096f0db3b authorNoémi Ványi <sitbackandwait@gmail.com> dateFri 10 Aug 2018, 19:03 (8 years ago) parenteea2e8e
1 file changed+3−4
searx/settings.yml+3−4
searx/settings.yml+3−4
@@ -192,10 +192,9 @@ engines:
192192 engine : xpath
193193 paging : True
194194 search_url : http://etymonline.com/?search={query}&p={pageno}
195− url_xpath : //dt/a[1]/@href
196− title_xpath : //dt
197− content_xpath : //dd
198− suggestion_xpath : //a[@class="crossreference"]
195+ url_xpath : //a[contains(@class, "word--")]/@href
196+ title_xpath : //p[contains(@class, "word__name--")]/text()
197+ content_xpath : //section[contains(@class, "word__defination")]/object
199198 first_page_num : 0
200199 shortcut : et
201200 disabled : True