diff options
Diffstat (limited to 'searx/settings.yml')
| -rw-r--r-- | searx/settings.yml | 142 |
1 files changed, 134 insertions, 8 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 6c7b4ea69..a3e19768d 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -23,7 +23,7 @@ brand: search: # Filter results. 0: None, 1: Moderate, 2: Strict safe_search: 0 - # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", + # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "yandex", # "seznam", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off # by default. autocomplete: "" @@ -95,6 +95,8 @@ ui: default_theme: simple # center the results ? center_alignment: false + # URL prefix of the internet archive, don't forgett trailing slash (if needed). + # cache_url: "https://webcache.googleusercontent.com/search?q=cache:" # Default interface locale - leave blank to detect from browser information or # use codes from the 'locales' config section default_locale: "" @@ -121,6 +123,7 @@ ui: # # result_proxy: # url: http://127.0.0.1:3000/ +# # the key is a base64 encoded string, the YAML !!binary prefix is optional # key: !!binary "your_morty_proxy_key" # # [true|false] enable the "proxy" button next to each result # proxify_results: true @@ -210,7 +213,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: @@ -262,12 +265,22 @@ categories_as_tabs: social media: engines: + - name: 9gag + engine: 9gag + shortcut: 9g + disabled: true + - name: apk mirror engine: apkmirror timeout: 4.0 shortcut: apkm disabled: true + - name: apple app store + engine: apple_app_store + shortcut: aps + disabled: true + # Requires Tor - name: ahmia engine: ahmia @@ -422,18 +435,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 @@ -545,6 +553,12 @@ engines: timeout: 3.0 disabled: true + - name: apple maps + engine: apple_maps + shortcut: apm + disabled: true + timeout: 5.0 + - name: emojipedia engine: emojipedia timeout: 4.0 @@ -965,6 +979,38 @@ engines: # collection: 'reviews' # name of the db collection # key: 'name' # key in the collection to search for + - name: neeva + engine: xpath + shortcut: nv + time_range_support: true + time_range_url: '&alf%5Bfreshness%5D={time_range_val}' + time_range_map: + day: 'Day' + week: 'Week' + month: 'Month' + year: 'Year' + search_url: https://neeva.com/search?q={query}&c=All&src=Pagination&page={pageno}{time_range} + results_xpath: //div[@class="web-index__component-2rKiM"] | //li[@class="web-rich-deep-links__deepLink-SIbD4"] + url_xpath: .//a[@class="lib-doc-title__link-1b9rC"]/@href | ./h2/a/@href + title_xpath: .//a[@class="lib-doc-title__link-1b9rC"] | ./h2/a + content_xpath: > + .//div[@class="lib-doc-snippet__component-3ewW6"]/text() | + .//div[@class="lib-doc-snippet__component-3ewW6"]/*[not(self::a)] | + ./p + content_html_to_text: true + suggestion_xpath: //span[@class="result-related-searches__link-2ho_u"] + paging: true + disabled: true + categories: [general, web] + timeout: 5.0 + soft_max_redirects: 2 + about: + website: https://neeva.com + official_api_documentation: + use_official_api: false + require_api_key: false + results: HTML + - name: npm engine: json_engine paging: true @@ -1171,6 +1217,7 @@ engines: results: HTML - name: qwant + qwant_categ: web engine: qwant shortcut: qw categories: [general, web] @@ -1179,6 +1226,7 @@ engines: rosebud: *test_rosebud - name: qwant news + qwant_categ: news engine: qwant shortcut: qwn categories: news @@ -1186,6 +1234,7 @@ engines: network: qwant - name: qwant images + qwant_categ: images engine: qwant shortcut: qwi categories: [images, web] @@ -1193,6 +1242,7 @@ engines: network: qwant - name: qwant videos + qwant_categ: videos engine: qwant shortcut: qwv categories: [videos, web] @@ -1394,6 +1444,11 @@ engines: # - 2000 # - 5000 + - name: twitter + shortcut: tw + engine: twitter + disabled: true + # maybe in a fun category # - name: uncyclopedia # engine: mediawiki @@ -1454,6 +1509,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 @@ -1610,6 +1686,15 @@ engines: engine: seznam disabled: true + # - name: deepl + # engine: deepl + # shortcut: dpl + # # You can use the engine using the official stable API, but you need an API key + # # See: https://www.deepl.com/pro-api?cta=header-pro-api + # api_key: '' # required! + # timeout: 5.0 + # disabled: true + - name: mojeek shortcut: mjk engine: xpath @@ -1725,6 +1810,7 @@ engines: url_xpath: //div[@class="upper-synonyms"]/a/@href content_xpath: //div[@class="synonyms-list-group"] title_xpath: //div[@class="upper-synonyms"]/a + no_result_for_http_status: [404] about: website: https://www.woxikon.de/ wikidata_id: # No Wikidata ID @@ -1783,6 +1869,9 @@ engines: month: 'pm' year: 'py' categories: [general, web] + disabled: true + headers: + Accept-Encoding: gzip, deflate about: website: https://brave.com/search/ wikidata_id: Q107355971 @@ -1835,6 +1924,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 |