Update settings template and defaults, reorganized tasks.
This commit is contained in:
parent
9e514344d9
commit
705cd184d3
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
|
||||
searx_instance_name: 'searx'
|
||||
searx_deployed: 'false'
|
||||
searx_version: 'v0.18.0'
|
||||
searx_deployed: 'true'
|
||||
searx_version: 'v1.0.0'
|
||||
searx_username: 'searx'
|
||||
searx_group: 'searx'
|
||||
searx_pkg:
|
||||
|
@ -25,6 +25,15 @@ searx_pip_pkgs:
|
|||
- setuptools
|
||||
- wheel
|
||||
- pip
|
||||
searx_contact_url: 'contact@example.com'
|
||||
searx_git_url: 'https://github.com/searx/searx'
|
||||
searx_git_branch: 'master'
|
||||
searx_git_issues: 'https://github.com/searx/searx/issues'
|
||||
searx_git_docs: 'https://searx.github.io/searx'
|
||||
searx_public_instance: 'https://searx.space'
|
||||
searx_git_wiki: 'https://github.com/searx/searx/wiki'
|
||||
searx_twitter_url: 'https://twitter.com/Searx_engine'
|
||||
|
||||
searx_filtron_username: 'filtron'
|
||||
searx_filtron_group: 'filtron'
|
||||
searx_filtron_home: '/home/filtron'
|
||||
|
@ -49,7 +58,7 @@ searx_host_listen: '127.0.0.1:8888'
|
|||
# settings file
|
||||
searx_secretkey: '909cb8a9c66a1ab97bab80010bf8b22b' # run openssl rand -hex 16 to generate new random key
|
||||
searx_default_theme: 'oscar'
|
||||
searx_bind_address: '127.0.0.1'
|
||||
searx_bind_address: '192.168.33.10'
|
||||
searx_theme_args: 'logicodev'
|
||||
|
||||
#nginx
|
||||
|
|
|
@ -20,12 +20,12 @@
|
|||
include: installapp.yml
|
||||
when: searx_deployed == 'false'
|
||||
|
||||
- name: Update app
|
||||
include: updateapp.yml
|
||||
when: searx_deployed == 'true'
|
||||
|
||||
- name: Configure app
|
||||
include: configure.yml
|
||||
|
||||
- include: custom_themes.yml
|
||||
when: searx_custom_themes is defined
|
||||
|
||||
- name: Update app
|
||||
include: updateapp.yml
|
||||
when: searx_deployed == 'true'
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
general:
|
||||
debug : False # Debug mode, only for development
|
||||
instance_name : "{{ searx_instance_name }}" # displayed name
|
||||
contact_url: False # mailto:{{ searx_contact_url }}
|
||||
|
||||
brand:
|
||||
git_url: {{ searx_git_url }}
|
||||
git_branch: {{ searx_git_branch }}
|
||||
issue_url: {{ searx_git_issues }}
|
||||
docs_url: {{ searx_git_docs }}
|
||||
public_instances: {{ searx_public_instance }}
|
||||
wiki_url: {{ searx_git_wiki }}
|
||||
twitter_url: {{ searx_twitter_url }}
|
||||
|
||||
search:
|
||||
safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict
|
||||
|
@ -72,6 +82,8 @@ outgoing: # communication with search engines
|
|||
# https:
|
||||
# - http://proxy1:8080
|
||||
# - http://proxy2:8080
|
||||
# using_tor_proxy : True
|
||||
# extra_proxy_timeout : 10.0 # Extra seconds to add in order to account for the time taken by the proxy
|
||||
# uncomment below section only if you have more than one network interface
|
||||
# which can be the source of outgoing search requests
|
||||
# source_ips:
|
||||
|
@ -92,6 +104,52 @@ outgoing: # communication with search engines
|
|||
# - "HTTPS rewrite"
|
||||
# - ...
|
||||
|
||||
checker:
|
||||
# disable checker when in debug mode
|
||||
off_when_debug: True
|
||||
|
||||
# scheduling: interval or int
|
||||
# use "scheduling: False" to disable scheduling
|
||||
# to activate the scheduler:
|
||||
# * uncomment "scheduling" section
|
||||
# * add "cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1" to your uwsgi.ini
|
||||
|
||||
# scheduling:
|
||||
# start_after: [300, 1800] # delay to start the first run of the checker
|
||||
# every: [86400, 90000] # how often the checker runs
|
||||
|
||||
# additional tests: only for the YAML anchors (see the engines section)
|
||||
|
||||
additional_tests:
|
||||
rosebud: &test_rosebud
|
||||
matrix:
|
||||
query: rosebud
|
||||
lang: en
|
||||
result_container:
|
||||
- not_empty
|
||||
- ['one_title_contains', 'citizen kane']
|
||||
test:
|
||||
- unique_results
|
||||
|
||||
android: &test_android
|
||||
matrix:
|
||||
query: ['android']
|
||||
lang: ['en', 'de', 'fr', 'zh-CN']
|
||||
result_container:
|
||||
- not_empty
|
||||
- ['one_title_contains', 'google']
|
||||
test:
|
||||
- unique_results
|
||||
|
||||
# tests: only for the YAML anchors (see the engines section)
|
||||
tests:
|
||||
infobox: &tests_infobox
|
||||
infobox:
|
||||
matrix:
|
||||
query: ["linux", "new york", "bbc"]
|
||||
result_container:
|
||||
- has_infobox
|
||||
|
||||
engines:
|
||||
- name: apk mirror
|
||||
engine: apkmirror
|
||||
|
@ -103,6 +161,7 @@ engines:
|
|||
- name : ahmia
|
||||
engine : ahmia
|
||||
categories : onions
|
||||
enable_http : True
|
||||
shortcut : ah
|
||||
|
||||
- name : arch linux wiki
|
||||
|
@ -119,6 +178,13 @@ engines:
|
|||
timeout : 7.0
|
||||
disabled : True
|
||||
shortcut : ai
|
||||
about:
|
||||
website: https://archive.is/
|
||||
wikidata_id: Q13515725
|
||||
official_api_documentation: http://mementoweb.org/depot/native/archiveis/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : arxiv
|
||||
engine : arxiv
|
||||
|
@ -163,6 +229,13 @@ engines:
|
|||
timeout : 4.0
|
||||
disabled : True
|
||||
shortcut : bb
|
||||
about:
|
||||
website: https://bitbucket.org/
|
||||
wikidata_id: Q2493781
|
||||
official_api_documentation: https://developer.atlassian.com/bitbucket
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : btdigg
|
||||
engine : btdigg
|
||||
|
@ -178,6 +251,18 @@ engines:
|
|||
categories : videos
|
||||
disabled : True
|
||||
shortcut : c3tv
|
||||
about:
|
||||
website: https://media.ccc.de/
|
||||
wikidata_id: Q80729951
|
||||
official_api_documentation: https://github.com/voc/voctoweb
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : ccengine
|
||||
engine : ccengine
|
||||
categories : images
|
||||
shortcut : cce
|
||||
|
||||
- name : crossref
|
||||
engine : json_engine
|
||||
|
@ -185,9 +270,18 @@ engines:
|
|||
search_url : https://search.crossref.org/dois?q={query}&page={pageno}
|
||||
url_query : doi
|
||||
title_query : title
|
||||
title_html_to_text: True
|
||||
content_query : fullCitation
|
||||
content_html_to_text: True
|
||||
categories : science
|
||||
shortcut : cr
|
||||
about:
|
||||
website: https://www.crossref.org/
|
||||
wikidata_id: Q5188229
|
||||
official_api_documentation: https://github.com/CrossRef/rest-api-doc
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
|
||||
- name : currency
|
||||
engine : currency_convert
|
||||
|
@ -208,6 +302,7 @@ engines:
|
|||
shortcut : ddd
|
||||
weight : 2
|
||||
disabled : True
|
||||
tests: *tests_infobox
|
||||
|
||||
# cloudflare protected
|
||||
# - name : digbt
|
||||
|
@ -232,6 +327,13 @@ engines:
|
|||
categories : general
|
||||
shortcut : ew
|
||||
disabled : True
|
||||
about:
|
||||
website: https://www.erowid.org/
|
||||
wikidata_id: Q1430691
|
||||
official_api_documentation:
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
# - name : elasticsearch
|
||||
# shortcut : es
|
||||
|
@ -252,6 +354,7 @@ engines:
|
|||
shortcut : wd
|
||||
timeout : 3.0
|
||||
weight : 2
|
||||
tests: *tests_infobox
|
||||
|
||||
- name : duckduckgo
|
||||
engine : duckduckgo
|
||||
|
@ -268,6 +371,8 @@ engines:
|
|||
engine : etools
|
||||
shortcut : eto
|
||||
disabled : True
|
||||
additional_tests:
|
||||
rosebud: *test_rosebud
|
||||
|
||||
- name : etymonline
|
||||
engine : xpath
|
||||
|
@ -279,6 +384,13 @@ engines:
|
|||
first_page_num : 1
|
||||
shortcut : et
|
||||
disabled : True
|
||||
about:
|
||||
website: https://www.etymonline.com/
|
||||
wikidata_id: Q1188617
|
||||
official_api_documentation:
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
# - name : ebay
|
||||
# engine : ebay
|
||||
|
@ -318,6 +430,17 @@ engines:
|
|||
search_type : title
|
||||
timeout : 5.0
|
||||
disabled : True
|
||||
about:
|
||||
website: https://directory.fsf.org/
|
||||
wikidata_id: Q2470288
|
||||
|
||||
# - name : freesound
|
||||
# engine : freesound
|
||||
# shortcut : fnd
|
||||
# disabled : True
|
||||
# timeout : 15.0
|
||||
# api_key : MyAPIkey
|
||||
# API key required, see : https://freesound.org/docs/api/overview.html
|
||||
|
||||
- name : frinkiac
|
||||
engine : frinkiac
|
||||
|
@ -333,6 +456,8 @@ engines:
|
|||
shortcut : gb
|
||||
timeout : 3.0
|
||||
disabled: True
|
||||
additional_tests:
|
||||
rosebud: *test_rosebud
|
||||
|
||||
- name : gentoo
|
||||
engine : gentoo
|
||||
|
@ -350,6 +475,13 @@ engines:
|
|||
shortcut : gl
|
||||
timeout : 10.0
|
||||
disabled : True
|
||||
about:
|
||||
website: https://about.gitlab.com/
|
||||
wikidata_id: Q16639197
|
||||
official_api_documentation: https://docs.gitlab.com/ee/api/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
|
||||
- name : github
|
||||
engine : github
|
||||
|
@ -367,77 +499,90 @@ engines:
|
|||
categories : it
|
||||
shortcut : cb
|
||||
disabled : True
|
||||
about:
|
||||
website: https://codeberg.org/
|
||||
wikidata_id:
|
||||
official_api_documentation: https://try.gitea.io/api/swagger
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
|
||||
- name : google
|
||||
engine : google
|
||||
shortcut : go
|
||||
# additional_tests:
|
||||
# android: *test_android
|
||||
|
||||
- name : google images
|
||||
engine : google_images
|
||||
shortcut : goi
|
||||
# additional_tests:
|
||||
# android: *test_android
|
||||
# dali:
|
||||
# matrix:
|
||||
# query: ['Dali Christ']
|
||||
# lang: ['en', 'de', 'fr', 'zh-CN']
|
||||
# result_container:
|
||||
# - ['one_title_contains', 'Salvador']
|
||||
|
||||
- name : google news
|
||||
engine : google_news
|
||||
shortcut : gon
|
||||
# additional_tests:
|
||||
# android: *test_android
|
||||
|
||||
- name : google videos
|
||||
engine : google_videos
|
||||
shortcut : gov
|
||||
# additional_tests:
|
||||
# android: *test_android
|
||||
|
||||
- name : google scholar
|
||||
engine : xpath
|
||||
paging : True
|
||||
search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
|
||||
results_xpath : //div[contains(@class, "gs_r")]/div[@class="gs_ri"]
|
||||
url_xpath : .//h3/a/@href
|
||||
title_xpath : .//h3/a
|
||||
content_xpath : .//div[@class="gs_rs"]
|
||||
suggestion_xpath : //div[@id="gs_res_ccl_top"]//a/b
|
||||
page_size : 10
|
||||
first_page_num : 0
|
||||
categories : science
|
||||
engine : google_scholar
|
||||
shortcut : gos
|
||||
|
||||
- name : google play apps
|
||||
engine : xpath
|
||||
search_url : https://play.google.com/store/search?q={query}&c=apps
|
||||
results_xpath : '//div[@class="WHE7ib mpg5gc"]'
|
||||
title_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a'
|
||||
url_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href'
|
||||
results_xpath : '//div[@class="ImZGtf mpg5gc"]'
|
||||
title_xpath : './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a'
|
||||
url_xpath : './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a/@href'
|
||||
content_xpath : './/div[@class="RZEgze"]//a[@class="mnKHRc"]'
|
||||
thumbnail_xpath : './/div[@class="uzcko"]/div/span[1]//img/@data-src'
|
||||
categories : files
|
||||
shortcut : gpa
|
||||
disabled : True
|
||||
about:
|
||||
website: https://play.google.com/
|
||||
wikidata_id: Q79576
|
||||
official_api_documentation:
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : google play movies
|
||||
engine : xpath
|
||||
search_url : https://play.google.com/store/search?q={query}&c=movies
|
||||
results_xpath : '//div[@class="WHE7ib mpg5gc"]'
|
||||
title_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a'
|
||||
url_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href'
|
||||
content_xpath : './/div[@class="RZEgze"]//a[@class="mnKHRc"]'
|
||||
results_xpath : '//div[@class="ImZGtf mpg5gc"]'
|
||||
title_xpath : './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a'
|
||||
url_xpath : './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a/@href'
|
||||
content_xpath : './/div[@class="kCSSQe"]'
|
||||
thumbnail_xpath : './/div[@class="uzcko"]/div/span[1]//img/@data-src'
|
||||
categories : videos
|
||||
shortcut : gpm
|
||||
disabled : True
|
||||
|
||||
- name : google play music
|
||||
engine : xpath
|
||||
search_url : https://play.google.com/store/search?q={query}&c=music
|
||||
results_xpath : '//div[@class="WHE7ib mpg5gc"]'
|
||||
title_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a'
|
||||
url_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href'
|
||||
content_xpath : './/div[@class="RZEgze"]//a[@class="mnKHRc"]'
|
||||
thumbnail_xpath : './/div[@class="uzcko"]/div/span[1]//img/@data-src'
|
||||
categories : music
|
||||
shortcut : gps
|
||||
disabled : True
|
||||
about:
|
||||
website: https://play.google.com/
|
||||
wikidata_id: Q79576
|
||||
official_api_documentation:
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : geektimes
|
||||
engine : xpath
|
||||
paging : True
|
||||
search_url : https://geektimes.ru/search/page{pageno}/?q={query}
|
||||
search_url : https://habr.com/en/search/page{pageno}/?q={query}
|
||||
url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
|
||||
title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]
|
||||
content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")]
|
||||
|
@ -445,6 +590,13 @@ engines:
|
|||
timeout : 4.0
|
||||
disabled : True
|
||||
shortcut : gt
|
||||
about:
|
||||
website: https://geektimes.ru/
|
||||
wikidata_id: Q50572423
|
||||
official_api_documentation:
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : habrahabr
|
||||
engine : xpath
|
||||
|
@ -457,18 +609,32 @@ engines:
|
|||
timeout : 4.0
|
||||
disabled : True
|
||||
shortcut : habr
|
||||
about:
|
||||
website: https://habr.com/
|
||||
wikidata_id: Q4494434
|
||||
official_api_documentation: https://habr.com/en/docs/help/api/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : hoogle
|
||||
engine : json_engine
|
||||
engine : xpath
|
||||
paging : True
|
||||
search_url : https://www.haskell.org/hoogle/?mode=json&hoogle={query}&start={pageno}
|
||||
results_query : results
|
||||
url_query : location
|
||||
title_query : self
|
||||
content_query : docs
|
||||
search_url : https://hoogle.haskell.org/?hoogle={query}&start={pageno}
|
||||
results_xpath : '//div[@class="result"]'
|
||||
title_xpath : './/div[@class="ans"]//a'
|
||||
url_xpath : './/div[@class="ans"]//a/@href'
|
||||
content_xpath : './/div[@class="from"]'
|
||||
page_size : 20
|
||||
categories : it
|
||||
shortcut : ho
|
||||
about:
|
||||
website: https://www.haskell.org/
|
||||
wikidata_id: Q34010
|
||||
official_api_documentation: https://hackage.haskell.org/api
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
|
||||
- name : ina
|
||||
engine : ina
|
||||
|
@ -478,7 +644,9 @@ engines:
|
|||
|
||||
- name : invidious
|
||||
engine : invidious
|
||||
base_url : 'https://invidio.us/'
|
||||
base_url :
|
||||
- https://invidious.tube/
|
||||
- https://invidious.snopyta.org/
|
||||
shortcut: iv
|
||||
timeout : 5.0
|
||||
disabled : True
|
||||
|
@ -491,14 +659,27 @@ engines:
|
|||
|
||||
- name : library genesis
|
||||
engine : xpath
|
||||
enable_http: True
|
||||
search_url : http://libgen.rs/search.php?req={query}
|
||||
url_xpath : //a[contains(@href,"bookfi.net")]/@href
|
||||
url_xpath : //a[contains(@href,"bookfi.net/md5")]/@href
|
||||
title_xpath : //a[contains(@href,"book/")]/text()[1]
|
||||
content_xpath : //td/a[1][contains(@href,"=author")]/text()
|
||||
categories : general
|
||||
timeout : 7.0
|
||||
disabled : True
|
||||
shortcut : lg
|
||||
about:
|
||||
website: http://libgen.rs/
|
||||
wikidata_id: Q22017206
|
||||
official_api_documentation:
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : library of congress
|
||||
engine : loc
|
||||
shortcut : loc
|
||||
categories : images
|
||||
|
||||
- name : lobste.rs
|
||||
engine : xpath
|
||||
|
@ -509,19 +690,15 @@ engines:
|
|||
content_xpath : .//a[@class="domain"]
|
||||
categories : it
|
||||
shortcut : lo
|
||||
timeout : 3.0
|
||||
timeout : 5.0
|
||||
disabled: True
|
||||
|
||||
- name : metager
|
||||
engine : xpath
|
||||
paging : False
|
||||
search_url : https://metager.org/meta/meta.ger3?eingabe={query}
|
||||
url_xpath : //div[@class="result-subheadline"]/a/@href
|
||||
title_xpath : //div[@class="result-headline"]/h2/@title
|
||||
content_xpath : //div[@class="result-description"]/text()
|
||||
categories : general
|
||||
shortcut : mg
|
||||
disabled : True
|
||||
about:
|
||||
website: https://lobste.rs/
|
||||
wikidata_id: Q60762874
|
||||
official_api_documentation:
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : microsoft academic
|
||||
engine : microsoft_academic
|
||||
|
@ -545,10 +722,19 @@ engines:
|
|||
disabled: True
|
||||
timeout: 5.0
|
||||
shortcut : npm
|
||||
about:
|
||||
website: https://npms.io/
|
||||
wikidata_id: Q7067518
|
||||
official_api_documentation: https://api-docs.npms.io/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
|
||||
# Requires Tor
|
||||
- name : not evil
|
||||
engine : not_evil
|
||||
categories : onions
|
||||
enable_http : True
|
||||
shortcut : ne
|
||||
|
||||
- name : nyaa
|
||||
|
@ -556,12 +742,6 @@ engines:
|
|||
shortcut : nt
|
||||
disabled : True
|
||||
|
||||
- name : acgsou
|
||||
engine : acgsou
|
||||
shortcut : acg
|
||||
disabled : True
|
||||
timeout: 5.0
|
||||
|
||||
- name : openairedatasets
|
||||
engine : json_engine
|
||||
paging : True
|
||||
|
@ -570,9 +750,17 @@ engines:
|
|||
url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
|
||||
title_query : metadata/oaf:entity/oaf:result/title/$
|
||||
content_query : metadata/oaf:entity/oaf:result/description/$
|
||||
content_html_to_text: True
|
||||
categories : science
|
||||
shortcut : oad
|
||||
timeout: 5.0
|
||||
about:
|
||||
website: https://www.openaire.eu/
|
||||
wikidata_id: Q25106053
|
||||
official_api_documentation: https://api.openaire.eu/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
|
||||
- name : openairepublications
|
||||
engine : json_engine
|
||||
|
@ -582,9 +770,17 @@ engines:
|
|||
url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
|
||||
title_query : metadata/oaf:entity/oaf:result/title/$
|
||||
content_query : metadata/oaf:entity/oaf:result/description/$
|
||||
content_html_to_text: True
|
||||
categories : science
|
||||
shortcut : oap
|
||||
timeout: 5.0
|
||||
about:
|
||||
website: https://www.openaire.eu/
|
||||
wikidata_id: Q25106053
|
||||
official_api_documentation: https://api.openaire.eu/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
|
||||
# - name : opensemanticsearch
|
||||
# engine : opensemantic
|
||||
|
@ -606,6 +802,13 @@ engines:
|
|||
timeout : 4.0
|
||||
disabled : True
|
||||
shortcut : or
|
||||
about:
|
||||
website: https://openrepos.net/
|
||||
wikidata_id:
|
||||
official_api_documentation:
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : pdbe
|
||||
engine : pdbe
|
||||
|
@ -636,6 +839,8 @@ engines:
|
|||
shortcut : qw
|
||||
categories : general
|
||||
disabled : True
|
||||
additional_tests:
|
||||
rosebud: *test_rosebud
|
||||
|
||||
- name : qwant images
|
||||
engine : qwant
|
||||
|
@ -713,15 +918,17 @@ engines:
|
|||
# disabled : True
|
||||
|
||||
- name : semantic scholar
|
||||
engine : xpath
|
||||
paging : True
|
||||
search_url : https://www.semanticscholar.org/search?q={query}&sort=relevance&page={pageno}&ae=false
|
||||
results_xpath : //article
|
||||
url_xpath : .//div[@class="search-result-title"]/a/@href
|
||||
title_xpath : .//div[@class="search-result-title"]/a
|
||||
content_xpath : .//div[@class="search-result-abstract"]
|
||||
engine : semantic_scholar
|
||||
disabled : True
|
||||
shortcut : se
|
||||
categories : science
|
||||
about:
|
||||
website: https://www.semanticscholar.org/
|
||||
wikidata_id: Q22908627
|
||||
official_api_documentation: https://api.semanticscholar.org/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
|
||||
# Spotify needs API credentials
|
||||
# - name : spotify
|
||||
|
@ -730,11 +937,24 @@ engines:
|
|||
# api_client_id : *******
|
||||
# api_client_secret : *******
|
||||
|
||||
# - name : solr
|
||||
# engine : solr
|
||||
# shortcut : slr
|
||||
# base_url : http://localhost:8983
|
||||
# collection : collection_name
|
||||
# sort : '' # sorting: asc or desc
|
||||
# field_list : '' # comma separated list of field names to display on the UI
|
||||
# default_fields : '' # default field to query
|
||||
# query_fields : '' # query fields
|
||||
# enable_http : True
|
||||
|
||||
- name : startpage
|
||||
engine : startpage
|
||||
shortcut : sp
|
||||
timeout : 6.0
|
||||
disabled : True
|
||||
additional_tests:
|
||||
rosebud: *test_rosebud
|
||||
|
||||
- name : tokyotoshokan
|
||||
engine : tokyotoshokan
|
||||
|
@ -742,6 +962,12 @@ engines:
|
|||
timeout : 6.0
|
||||
disabled : True
|
||||
|
||||
- name : solidtorrents
|
||||
engine : solidtorrents
|
||||
shortcut : solid
|
||||
timeout : 3.0
|
||||
disabled : True
|
||||
|
||||
- name : torrentz
|
||||
engine : torrentz
|
||||
shortcut : tor
|
||||
|
@ -758,6 +984,7 @@ engines:
|
|||
title_xpath : ./td[2]/b
|
||||
content_xpath : ./td[2]/small
|
||||
categories : onions
|
||||
enable_http : True
|
||||
shortcut : tch
|
||||
|
||||
# maybe in a fun category
|
||||
|
@ -786,11 +1013,6 @@ engines:
|
|||
shortcut : yh
|
||||
disabled : True
|
||||
|
||||
- name : yandex
|
||||
engine : yandex
|
||||
shortcut : yn
|
||||
disabled : True
|
||||
|
||||
- name : yahoo news
|
||||
engine : yahoo_news
|
||||
shortcut : yhn
|
||||
|
@ -804,13 +1026,12 @@ engines:
|
|||
# Or you can use the html non-stable engine, activated by default
|
||||
engine : youtube_noapi
|
||||
|
||||
# tmp suspended: Cloudflare CAPTCHA
|
||||
#- name : yggtorrent
|
||||
# engine : yggtorrent
|
||||
# shortcut : ygg
|
||||
# url: https://www2.yggtorrent.si/
|
||||
# disabled : True
|
||||
# timeout : 4.0
|
||||
- name : yggtorrent
|
||||
engine : yggtorrent
|
||||
shortcut : ygg
|
||||
url: https://www4.yggtorrent.li/
|
||||
disabled : True
|
||||
timeout : 4.0
|
||||
|
||||
- name : dailymotion
|
||||
engine : dailymotion
|
||||
|
@ -820,6 +1041,16 @@ engines:
|
|||
engine : vimeo
|
||||
shortcut : vm
|
||||
|
||||
- name : wiby
|
||||
engine : json_engine
|
||||
search_url : https://wiby.me/json/?q={query}
|
||||
url_query : URL
|
||||
title_query : Title
|
||||
content_query : Snippet
|
||||
categories : general
|
||||
shortcut : wib
|
||||
disabled : True
|
||||
|
||||
- name : wikibooks
|
||||
engine : mediawiki
|
||||
shortcut : wb
|
||||
|
@ -828,6 +1059,9 @@ engines:
|
|||
number_of_results : 5
|
||||
search_type : text
|
||||
disabled : True
|
||||
about:
|
||||
website: https://www.wikibooks.org/
|
||||
wikidata_id: Q367
|
||||
|
||||
- name : wikinews
|
||||
engine : mediawiki
|
||||
|
@ -837,6 +1071,9 @@ engines:
|
|||
number_of_results : 5
|
||||
search_type : text
|
||||
disabled : True
|
||||
about:
|
||||
website: https://www.wikinews.org/
|
||||
wikidata_id: Q964
|
||||
|
||||
- name : wikiquote
|
||||
engine : mediawiki
|
||||
|
@ -846,6 +1083,11 @@ engines:
|
|||
number_of_results : 5
|
||||
search_type : text
|
||||
disabled : True
|
||||
additional_tests:
|
||||
rosebud: *test_rosebud
|
||||
about:
|
||||
website: https://www.wikiquote.org/
|
||||
wikidata_id: Q369
|
||||
|
||||
- name : wikisource
|
||||
engine : mediawiki
|
||||
|
@ -855,6 +1097,9 @@ engines:
|
|||
number_of_results : 5
|
||||
search_type : text
|
||||
disabled : True
|
||||
about:
|
||||
website: https://www.wikisource.org/
|
||||
wikidata_id: Q263
|
||||
|
||||
- name : wiktionary
|
||||
engine : mediawiki
|
||||
|
@ -864,6 +1109,9 @@ engines:
|
|||
number_of_results : 5
|
||||
search_type : text
|
||||
disabled : True
|
||||
about:
|
||||
website: https://www.wiktionary.org/
|
||||
wikidata_id: Q151
|
||||
|
||||
- name : wikiversity
|
||||
engine : mediawiki
|
||||
|
@ -873,6 +1121,9 @@ engines:
|
|||
number_of_results : 5
|
||||
search_type : text
|
||||
disabled : True
|
||||
about:
|
||||
website: https://www.wikiversity.org/
|
||||
wikidata_id: Q370
|
||||
|
||||
- name : wikivoyage
|
||||
engine : mediawiki
|
||||
|
@ -882,6 +1133,9 @@ engines:
|
|||
number_of_results : 5
|
||||
search_type : text
|
||||
disabled : True
|
||||
about:
|
||||
website: https://www.wikivoyage.org/
|
||||
wikidata_id: Q373
|
||||
|
||||
- name : wolframalpha
|
||||
shortcut : wa
|
||||
|
@ -906,17 +1160,6 @@ engines:
|
|||
# See : http://mymemory.translated.net/doc/usagelimits.php
|
||||
# api_key : ''
|
||||
|
||||
- name : voat
|
||||
engine: xpath
|
||||
shortcut: vo
|
||||
categories: social media
|
||||
search_url : https://searchvoat.co/?t={query}
|
||||
url_xpath : //div[@class="entry"]//p[@class="title"]/a/@href
|
||||
title_xpath : //div[@class="entry"]//p[@class="title"]/a/text()
|
||||
content_xpath : //div[@class="entry"]//span[@class="domain"]/a/text()
|
||||
timeout : 10.0
|
||||
disabled : True
|
||||
|
||||
- name : 1337x
|
||||
engine : 1337x
|
||||
shortcut : 1337x
|
||||
|
@ -929,16 +1172,7 @@ engines:
|
|||
|
||||
- name : seznam
|
||||
shortcut: szn
|
||||
engine: xpath
|
||||
paging : True
|
||||
search_url : https://search.seznam.cz/?q={query}&count=10&from={pageno}
|
||||
results_xpath: //div[@class="Page-content"]//div[contains(@class, "Result ")]
|
||||
url_xpath : ./h3/a/@href
|
||||
title_xpath : ./h3
|
||||
content_xpath : .//p[@class="Result-description"]
|
||||
suggestion_xpath: //div[@class="Related-container"]//div[@class="RelatedItem"]/div/span/a
|
||||
first_page_num : 0
|
||||
page_size : 10
|
||||
engine: seznam
|
||||
disabled : True
|
||||
|
||||
- name : mojeek
|
||||
|
@ -954,20 +1188,32 @@ engines:
|
|||
first_page_num : 0
|
||||
page_size : 10
|
||||
disabled : True
|
||||
about:
|
||||
website: https://www.mojeek.com/
|
||||
wikidata_id: Q60747299
|
||||
official_api_documentation: https://www.mojeek.com/services/api.html/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : naver
|
||||
shortcut: nvr
|
||||
engine: xpath
|
||||
paging : True
|
||||
search_url : https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
|
||||
results_xpath: /html/body//ul[@id="elThumbnailResultArea"]/li
|
||||
url_xpath : ./dl/dt/a[@class="title_link"]/@href
|
||||
title_xpath : ./dl/dt/a[@class="title_link"]
|
||||
content_xpath : ./dl/dd[@class="sh_web_passage"]
|
||||
suggestion_xpath : /html/body//div[@class="sp_keyword section"]//a
|
||||
url_xpath : //a[@class="link_tit"]/@href
|
||||
title_xpath : //a[@class="link_tit"]
|
||||
content_xpath : //a[@class="total_dsc"]/div
|
||||
first_page_num : 1
|
||||
page_size : 10
|
||||
disabled : True
|
||||
about:
|
||||
website: https://www.naver.com/
|
||||
wikidata_id: Q485639
|
||||
official_api_documentation: https://developers.naver.com/docs/nmt/examples/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : rubygems
|
||||
shortcut: rbg
|
||||
|
@ -982,6 +1228,13 @@ engines:
|
|||
first_page_num : 1
|
||||
categories: it
|
||||
disabled : True
|
||||
about:
|
||||
website: https://rubygems.org/
|
||||
wikidata_id: Q1853420
|
||||
official_api_documentation: https://guides.rubygems.org/rubygems-org-api/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name : peertube
|
||||
engine: peertube
|
||||
|
@ -991,13 +1244,26 @@ engines:
|
|||
categories: videos
|
||||
disabled : True
|
||||
|
||||
- name : mediathekviewweb
|
||||
engine : mediathekviewweb
|
||||
shortcut : mvw
|
||||
|
||||
# - name : yacy
|
||||
# engine : yacy
|
||||
# shortcut : ya
|
||||
# base_url : 'http://localhost:8090'
|
||||
# enable_http: True # required if you aren't using HTTPS for your local yacy instance
|
||||
# number_of_results : 5
|
||||
# timeout : 3.0
|
||||
|
||||
- name : rumble
|
||||
engine : rumble
|
||||
shortcut : ru
|
||||
base_url : https://rumble.com/
|
||||
paging : True
|
||||
categories: videos
|
||||
disabled : True
|
||||
|
||||
# Doku engine lets you access to any Doku wiki instance:
|
||||
# A public one or a privete/corporate one.
|
||||
# - name : ubuntuwiki
|
||||
|
@ -1076,6 +1342,7 @@ engines:
|
|||
# chars: ' '
|
||||
# keys: ['line']
|
||||
{% endraw %}
|
||||
|
||||
locales:
|
||||
en : English
|
||||
ar : العَرَبِيَّة (Arabic)
|
||||
|
|
Loading…
Reference in a new issue