From 8e00249633165772ed705375782ed806ce5d4d06 Mon Sep 17 00:00:00 2001 From: Israel Yago Pereira Date: Fri, 29 Oct 2021 17:02:14 -0300 Subject: [PATCH] WIP: onesearch engine --- searx/settings.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index 591c819d..0f79041a 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1621,6 +1621,22 @@ engines: require_api_key: false results: HTML + - name: onesearch + shortcut: onesearch + engine: xpath + paging: false + search_url: https://www.onesearch.com/yhs/search;?p={query} + url_xpath: //div[contains(@class, "algo")]//h3[contains(@class, "title")]/a/@href + title_xpath: //div[contains(@class, "algo")]//h3[contains(@class, "title")] + content_xpath: //div[contains(@class, "algo")]/div[contains(@class, "compText")]/p//text() + categories: general + about: + website: https://www.onesearch.com/ + wikidata_id: None + use_official_api: false + require_api_key: false + results: HTML + # Doku engine lets you access to any Doku wiki instance: # A public one or a private/corporate one. # - name : ubuntuwiki