summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorLéon Tiekötter <leon@tiekoetter.com>2022-05-29 19:59:26 +0200
committerLéon Tiekötter <leon@tiekoetter.com>2022-05-29 22:23:30 +0200
commitf09e8abd764e76704192f9b4d799cd378cf67ab0 (patch)
tree2ac22e396473a48478fab6ebd45a5dda3a3dd4c7 /searx
parent38403ee515ba09fb675bbc8d544ea579436aeee6 (diff)
downloadsearxng-f09e8abd764e76704192f9b4d799cd378cf67ab0.tar.gz
searxng-f09e8abd764e76704192f9b4d799cd378cf67ab0.zip
[engine] petal search
Add Petal Search to SearXNG via XPath
Diffstat (limited to 'searx')
-rw-r--r--searx/settings.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index ee0735fef..e77c5a962 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -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