summaryrefslogtreecommitdiff
path: root/searx/settings.yml
diff options
context:
space:
mode:
Diffstat (limited to 'searx/settings.yml')
-rw-r--r--searx/settings.yml67
1 files changed, 60 insertions, 7 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 3694c177a..ec03819a5 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -210,7 +210,7 @@ checker:
# to activate the scheduler:
# * uncomment "scheduling" section
- # * add "cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1"
+ # * add "cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1"
# to your uwsgi.ini
# scheduling:
@@ -422,18 +422,13 @@ engines:
categories: general
disabled: true
paging: false
- page_size: 10
content_html_to_text: true
title_html_to_text: true
- search_url: https://api.yep.com/fs/1/?type=web&q={query}&no_correct=false
+ search_url: https://api.yep.com/fs/1/?type=web&q={query}&no_correct=false&limit=100
results_query: 1/results
title_query: title
url_query: url
content_query: snippet
- timeout: 12.0
- headers:
- 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8'
- 'Sec-Fetch-Dest': 'document'
about:
website: https://yep.com
use_official_api: false
@@ -1454,6 +1449,27 @@ engines:
about:
website: https://wiby.me/
+ - name: marginalia
+ engine: json_engine
+ shortcut: mar
+ categories: general
+ paging: false
+ # index: {"0": "popular", "1": "blogs", "2": "big_sites",
+ # "3": "default", "4": experimental"}
+ search_url: https://api.marginalia.nu/public/search/{query}?index=4&count=20
+ results_query: results
+ url_query: url
+ title_query: title
+ content_query: description
+ timeout: 1.5
+ disabled: true
+ about:
+ website: https://www.marginalia.nu/
+ official_api_documentation: https://api.marginalia.nu/
+ use_official_api: true
+ require_api_key: true
+ results: JSON
+
- name: alexandria
engine: json_engine
shortcut: alx
@@ -1830,6 +1846,43 @@ engines:
require_api_key: false
results: HTML
+ - name: lib.rs
+ shortcut: lrs
+ engine: xpath
+ search_url: https://lib.rs/search?q={query}
+ results_xpath: /html/body/main/div/ol/li/a
+ url_xpath: ./@href
+ title_xpath: ./div[@class="h"]/h4
+ content_xpath: ./div[@class="h"]/p
+ categories: [it, packages]
+ disabled: true
+ about:
+ website: https://lib.rs
+ wikidata_id: Q113486010
+ use_official_api: false
+ require_api_key: false
+ results: HTML
+
+ - name: sourcehut
+ shortcut: srht
+ engine: xpath
+ paging: true
+ search_url: https://sr.ht/projects?page={pageno}&search={query}
+ results_xpath: (//div[@class="event-list"])[1]/div[@class="event"]
+ url_xpath: ./h4/a[2]/@href
+ title_xpath: ./h4/a[2]
+ content_xpath: ./p
+ first_page_num: 1
+ categories: [it, repos]
+ disabled: true
+ about:
+ website: https://sr.ht
+ wikidata_id: Q78514485
+ official_api_documentation: https://man.sr.ht/
+ 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