Update searxng's config file

This commit is contained in:
Midou36O 2024-07-19 08:10:40 +01:00
parent 796568eebf
commit bb8cf1dce8
Signed by: midou
GPG Key ID: 1D134A95FE521A7A

View File

@ -29,6 +29,12 @@ search:
# Filter results. 0: None, 1: Moderate, 2: Strict # Filter results. 0: None, 1: Moderate, 2: Strict
safe_search: 1 safe_search: 1
# Default search language - leave blank to detect from browser information or # Default search language - leave blank to detect from browser information or
# Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "yandex", "mwmbl",
# "seznam", "startpage", "stract", "swisscows", "qwant", "wikipedia" - leave blank to turn it off
# by default.
autocomplete: ""
# minimun characters to type before autocompleter starts
autocomplete_min: 4
# use codes from 'languages.py' # use codes from 'languages.py'
default_lang: "en" default_lang: "en"
# ban time in seconds after engine errors # ban time in seconds after engine errors
@ -71,6 +77,20 @@ engines:
engine: bing engine: bing
shortcut: bi shortcut: bi
disabled: false disabled: false
- name: crowdview
engine: json_engine
shortcut: cv
categories: general
paging: false
search_url: https://crowdview-next-js.onrender.com/api/search-v3?query={query}
results_query: results
url_query: link
title_query: title
content_query: snippet
disabled: false
about:
website: https://crowdview.ai/
- name: duckduckgo - name: duckduckgo
engine: duckduckgo engine: duckduckgo
shortcut: ddg shortcut: ddg
@ -87,32 +107,34 @@ engines:
wikidata_id: Q369 wikidata_id: Q369
disabled: false disabled: false
- name: brave - name: brave
shortcut: brave engine: brave
engine: xpath shortcut: br
paging: true
time_range_support: true time_range_support: true
first_page_num: 0 paging: true
time_range_url: "&tf={time_range_val}"
search_url: https://search.brave.com/search?q={query}&offset={pageno}&spellcheck=1{time_range}
url_xpath: //a[@class="result-header"]/@href
title_xpath: //span[@class="snippet-title"]
content_xpath: //p[1][@class="snippet-description"]
suggestion_xpath: //div[@class="text-gray h6"]/a
time_range_map:
day: 'pd'
week: 'pw'
month: 'pm'
year: 'py'
categories: [general, web] categories: [general, web]
headers: brave_category: search
Accept-Encoding: gzip, deflate # brave_spellcheck: true
about:
website: https://brave.com/search/ - name: brave.images
wikidata_id: Q107355971 engine: brave
use_official_api: false network: brave
require_api_key: false shortcut: brimg
results: HTML categories: [images, web]
disabled: false brave_category: images
- name: brave.videos
engine: brave
network: brave
shortcut: brvid
categories: [videos, web]
brave_category: videos
- name: brave.news
engine: brave
network: brave
shortcut: brnews
categories: news
brave_category: news
- name: codeberg - name: codeberg
engine: json_engine engine: json_engine
search_url: https://codeberg.org/api/v1/repos/search?q={query}&limit=10 search_url: https://codeberg.org/api/v1/repos/search?q={query}&limit=10