You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/searx
Markus Heiser b9a2e8b387 [mod] hostname_replace: replace hostnames in result's data_src param
To test you need to redirect embeded videos (e.g.) from youtube to a invidios
instance.  Search for videos using engine `!youtube lebowski`.  The result URLs
and the embeded videos should link to the invidios instance.

Here is an example of such a `hostname_replace` configuration::

    hostname_replace:

      # youtube --> Invidious

      '(.*\.)?youtube-nocookie\.com': 'invidio.xamh.de'
      '(.*\.)?youtube\.com$': 'invidio.xamh.de'
      '(.*\.)?invidious\.snopyta\.org$': 'invidio.xamh.de'
      '(.*\.)?vid\.puffyan\.us': 'invidio.xamh.de'
      '(.*\.)?invidious\.kavin\.rocks$': 'invidio.xamh.de'
      '(.*\.)?inv\.riverside\.rocks$': 'invidio.xamh.de'

Closes: https://github.com/searxng/searxng/issues/873
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
..
answerers [fix] issue reported by pylint 22.1.0 3 years ago
data Merge pull request #852 from searxng/update_data_update_ahmia_blacklist.py 3 years ago
engines [mod] result_templates/videos.html: replace embedded HTML by data_src 3 years ago
help [help] remove link from about.md title 3 years ago
metrics [enh] settings.yml: implement general.enable_metrics 3 years ago
network [mod] remove deprecate code 3 years ago
plugins [mod] hostname_replace: replace hostnames in result's data_src param 3 years ago
search [enh] implement a OnlineUrlSearchProcessor 3 years ago
shared [pyright:strict] searx.search.checker.background 3 years ago
static [mod] result_templates/videos.html: replace embedded HTML by data_src 3 years ago
templates [mod] result_templates/videos.html: replace embedded HTML by data_src 3 years ago
translations [translations] update from Weblate 3 years ago
__init__.py [format.python] initial formatting of the python code 3 years ago
autocomplete.py [fix] brave autocompleter: charset_normalizer issues 3 years ago
exceptions.py [pyright:strict] searx.search.checker.background 3 years ago
external_bang.py [fix] external bangs: don't overwrite Bangs in data trie 3 years ago
external_urls.py [format.python] initial formatting of the python code 3 years ago
flaskfix.py [format.python] initial formatting of the python code 3 years ago
languages.py Update searx.data - update_languages.py 3 years ago
locales.py [format.python] initial formatting of the python code 3 years ago
preferences.py [fix] make BooleanChoices only set cookies that vary from the default 3 years ago
query.py [fix] remove broken ? search operator 3 years ago
results.py [typing] add results.UnresponsiveEngine 3 years ago
settings.yml [mod] disable deezer engine by default 3 years ago
settings_defaults.py [enh] limiter plugin 3 years ago
settings_loader.py [format.python] initial formatting of the python code 3 years ago
unixthreadname.py [format.python] initial formatting of the python code 3 years ago
user_help.py [enh] make searx.user_help use an explicit TOC 3 years ago
utils.py [mod] searx.utils: more typing 3 years ago
version.py [format.python] initial formatting of the python code 3 years ago
webadapter.py [fix] disabling all engines in a category makes the bang search in general 3 years ago
webapp.py [enh] generate navigation for help pages 3 years ago
webutils.py [enh] change categories_as_tabs from a list to a dict 3 years ago