Merge pull request #500 from return42/various

Various marginal fixes and improvements
This commit is contained in:
Markus Heiser 2021-11-13 15:44:18 +01:00 committed by GitHub
commit 26a6cbadef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 15 deletions

1
manage
View File

@ -77,6 +77,7 @@ pyenv.:
pypi.upload:
Upload python packages to PyPi (to test use pypi.upload.test)
test.:
yamllint : lint YAML files: $YAMLLINT_FILES
pylint : lint PYLINT_FILES, searx/engines, searx & tests
pep8 : pycodestyle (pep8) for all files except PYLINT_FILES
unit : run unit tests

View File

@ -152,14 +152,23 @@ outgoing:
# - plugin2
# - ...
# uncomment below section if you want to configure which plugin is enabled by
# default
# Comment or un-comment plugin to activate / deactivate by default.
#
# enabled_plugins:
# - "HTTPS rewrite"
# - "Hostname replace" # see configuration below
# # these plugins are enabled if nothing is configured ..
# - 'Hash plugin'
# - 'Search on category select'
# - 'Self Informations'
# - 'Tracker URL remover'
# - 'Ahmia blacklist' # activation depends on outgoing.using_tor_proxy
# # these plugins are disabled if nothing is configured ..
# - 'Hostname replace' # see hostname_replace configuration below
# - 'Infinite scroll'
# - 'Open Access DOI rewrite'
# - 'Vim-like hotkeys'
# "Hostname replace" plugin configuration example:
# Configuration of the "Hostname replace" plugin:
#
# hostname_replace:
# '(.*\.)?youtube\.com$': 'invidious.example.com'
# '(.*\.)?youtu\.be$': 'invidious.example.com'
@ -167,7 +176,8 @@ outgoing:
# '(.*\.)?reddit\.com$': 'teddit.example.com'
# '(.*\.)?redd\.it$': 'teddit.example.com'
# '(www\.)?twitter\.com$': 'nitter.example.com'
# 'spam\.example\.com': false # remove results from spam.example.com
# # to remove matching host names from result list, set value to false
# 'spam\.example\.com': false
checker:
# disable checker when in debug mode