WIP: onesearch engine

This commit is contained in:
Israel Yago Pereira 2021-10-29 17:02:14 -03:00
parent 4882a3c7a4
commit 8e00249633
1 changed files with 16 additions and 0 deletions

View File

@ -1621,6 +1621,22 @@ engines:
require_api_key: false require_api_key: false
results: HTML 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: # Doku engine lets you access to any Doku wiki instance:
# A public one or a private/corporate one. # A public one or a private/corporate one.
# - name : ubuntuwiki # - name : ubuntuwiki