logo

searx

My custom branche(s) on searx, a meta-search engine
commit: b8978b4bbf20eaf6dee1c3e63330a39eae76dfc8
parent: eea2e8e5f369fa20144c799d6a82b293d0d04a84
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Sat, 11 Aug 2018 17:01:53 +0200

Merge pull request #1366 from kvch/fix-etymonline-engine

Fix etymonline engine

Diffstat:

Msearx/settings.yml7+++----
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