on master help sign in
Merge pull request #1366 from kvch/fix-etymonline-engine
b8978b4Adam Tauber
searx/settings.yml+3−4
@@ -192,10 +192,9 @@ engines:
192 engine : xpath
192 engine : xpath
193 paging : True
193 paging : True
194 search_url : http://etymonline.com/?search={query}&p={pageno}
194 search_url : http://etymonline.com/?search={query}&p={pageno}
195− url_xpath : //dt/a[1]/@href
195+ url_xpath : //a[contains(@class, "word--")]/@href
196− title_xpath : //dt
196+ title_xpath : //p[contains(@class, "word__name--")]/text()
197− content_xpath : //dd
197+ content_xpath : //section[contains(@class, "word__defination")]/object
198− suggestion_xpath : //a[@class="crossreference"]
199 first_page_num : 0
198 first_page_num : 0
200 shortcut : et
199 shortcut : et
201 disabled : True
200 disabled : True