[engine] petal search

Add Petal Search to SearXNG via XPath
This commit is contained in:
Léon Tiekötter 2022-05-29 19:59:26 +02:00
parent 38403ee515
commit f09e8abd76
No known key found for this signature in database
GPG Key ID: 02869F7817D9EC08

View File

@ -1701,6 +1701,25 @@ engines:
require_api_key: false
results: HTML
- name: petalsearch
shortcut: pts
engine: xpath
paging: true
search_url: https://petalsearch.com/search?query={query}&pn={pageno}
results_xpath: //div[@class="webpage-content"]/div[@class="title-cont"]/a
url_xpath: ./@href
title_xpath: .
content_xpath: ../../div[@class="webpage-text"]
suggestion_xpath: //div[@class="related-search-items"]/a
first_page_num: 1
disabled: true
about:
website: https://petalsearch.com/
wikidata_id: Q104399280
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 privete/corporate one.
# - name: ubuntuwiki