summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2018-08-10 19:03:38 +0200
committerNoémi Ványi <sitbackandwait@gmail.com>2018-08-10 19:03:46 +0200
commit5eeb3f2f01faf37f63a67b72d103268096f0db3b (patch)
tree64de4ecec80659dd524317df0d36625a5061780a /searx
parenteea2e8e5f369fa20144c799d6a82b293d0d04a84 (diff)
downloadsearxng-5eeb3f2f01faf37f63a67b72d103268096f0db3b.tar.gz
searxng-5eeb3f2f01faf37f63a67b72d103268096f0db3b.zip
follow up changes in etymonline XPATH engine
Diffstat (limited to 'searx')
-rw-r--r--searx/settings.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 1b18f55b3..0bd16ca2a 100644
--- 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