[engine] petal search news

Add Petal Search News to SearXNG via XPath
dependabot/pip/master/sphinx-6.1.3
Léon Tiekötter 2 years ago
parent f09e8abd76
commit 167f635924
No known key found for this signature in database
GPG Key ID: 02869F7817D9EC08

@ -1720,6 +1720,26 @@ engines:
require_api_key: false
results: HTML
- name: petalsearch news
shortcut: ptsn
categories: news
engine: xpath
paging: true
search_url: https://petalsearch.com/search?channel=news&query={query}&pn={pageno}
results_xpath: //div[@class="news-container"]/div/div/div/a
url_xpath: ./@href
title_xpath: ./div
content_xpath: ../div[@class="news-text"]
thumbnail_xpath: ../../../../img/@src
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

Loading…
Cancel
Save