Ponysearch/searx/plugins
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>
2022-02-13 14:20:47 +01:00
..
__init__.py [typing] add optional attrs to Plugin 2022-01-17 11:42:48 +01:00
ahmia_filter.py plugins: refactor initialization 2021-10-06 19:18:19 +02:00
hash_plugin.py [mod] oscar theme /preferences: reorganize the preferences 2021-06-17 15:29:07 +02:00
hostname_replace.py [mod] hostname_replace: replace hostnames in result's data_src param 2022-02-13 14:20:47 +01:00
infinite_scroll.py [enh] add simple theme (WIP) 2017-08-06 16:04:21 +02:00
limiter.py plugin limiter: check only /image_proxy and /search 2022-02-12 15:57:07 +01:00
oa_doi_rewrite.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
search_on_category_select.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
self_info.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
tracker_url_remover.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
vim_hotkeys.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00