mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
Merge pull request #1254 from tiekoetter/add-petalsearch
[engine] petal search
This commit is contained in:
commit
51ba817e06
@ -1701,6 +1701,45 @@ 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
|
||||
|
||||
- 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…
Reference in New Issue
Block a user