diff options
author | Paul Braeuning <paul@paulgo.io> | 2022-05-29 22:54:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-29 22:54:54 +0200 |
commit | 51ba817e06bb15ca1768010d6873d1d7bf48b0b6 (patch) | |
tree | ff032e66cb8e3d6441f5a7d0c470c9b4829334ad /searx | |
parent | 38403ee515ba09fb675bbc8d544ea579436aeee6 (diff) | |
parent | 167f635924e8d994aa68e6481213760e4d16ae98 (diff) | |
download | searxng-51ba817e06bb15ca1768010d6873d1d7bf48b0b6.tar.gz searxng-51ba817e06bb15ca1768010d6873d1d7bf48b0b6.zip |
Merge pull request #1254 from tiekoetter/add-petalsearch
[engine] petal search
Diffstat (limited to 'searx')
-rw-r--r-- | searx/settings.yml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index ee0735fef..ae1291e08 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -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 |