summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2019-08-05 15:44:22 +0200
committerDalf <alex@al-f.net>2019-08-05 15:44:22 +0200
commit9a378ca8c6866abb3c79d3f8c43189f918e33555 (patch)
tree6e6a3c9c494b10cae4f9798bd591c11e06223049
parentfcc9587ee9b1a4b31a511a8580f2d534e400e96b (diff)
downloadsearxng-9a378ca8c6866abb3c79d3f8c43189f918e33555.tar.gz
searxng-9a378ca8c6866abb3c79d3f8c43189f918e33555.zip
[fix] etymonline, voat engines
-rw-r--r--searx/settings.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 6659c1298..cf2b13e08 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -204,11 +204,11 @@ engines:
- name : etymonline
engine : xpath
paging : True
- search_url : http://etymonline.com/?search={query}&p={pageno}
- 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
+ search_url : https://etymonline.com/search?page={pageno}&q={query}
+ url_xpath : //a[contains(@class, "word__name--")]/@href
+ title_xpath : //a[contains(@class, "word__name--")]
+ content_xpath : //section[contains(@class, "word__defination")]
+ first_page_num : 1
shortcut : et
disabled : True
@@ -703,9 +703,9 @@ engines:
shortcut: vo
categories: social media
search_url : https://searchvoat.co/?t={query}
- url_xpath : //div[@class="entry"]/p/a[@class="title"]/@href
- title_xpath : //div[@class="entry"]/p/a[@class="title"]
- content_xpath : //div[@class="entry"]/p/span[@class="domain"]
+ url_xpath : //div[@class="entry"]/p/a[contains(@class, "title")]/@href
+ title_xpath : //div[@class="entry"]/p/a[contains(@class, "title")]
+ content_xpath : //div[@class="entry"]/p/span[@class="domain"]/a/text()
timeout : 10.0
disabled : True