1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01:00
searxng/searx/plugins
Markus Heiser ebfd0eb2b7 [fix] default_doi_resolver in preferences
Instead of a hard-coded `oadoi.org` default, use the default value from
`settings.yml`.

Fix an issue in the themes: The replacement 'current_doi_resolver' contains the
doi_resolver_url, not the name of the DOI resolver.  Compare return value of::

    searx.plugins.oa_doi_rewrite.get_doi_resolver(...)

Fix a typo in `get_doi_resolver(..)`:  suggested by @kvch:

  *L32 should set doi_resolver not doi_resolvers*

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-04 13:36:33 +02:00
..
https_rules [mod] https rewrite pluginification 2015-04-13 00:30:12 +02:00
__init__.py [mod] pylint: numerous minor code fixes 2020-12-01 15:21:19 +01:00
ahmia_filter.py [mod] ahmia_filter.py: minor changes 2020-10-27 20:00:04 +01:00
hash_plugin.py [fix] code style 2020-10-24 09:20:55 +02:00
https_rewrite.py Drop Python 2 (1/n): remove unicode string and url_utils 2020-09-10 10:39:04 +02:00
infinite_scroll.py [enh] add simple theme (WIP) 2017-08-06 16:04:21 +02:00
oa_doi_rewrite.py [fix] default_doi_resolver in preferences 2021-04-04 13:36:33 +02:00
search_on_category_select.py [enh] add simple theme (WIP) 2017-08-06 16:04:21 +02:00
self_info.py Drop Python 2 (4/n): SearchQuery.query is a str instead of bytes 2020-09-10 10:49:42 +02:00
tracker_url_remover.py Drop Python 2 (1/n): remove unicode string and url_utils 2020-09-10 10:39:04 +02:00
vim_hotkeys.py [enh] Add preference section to two upstream plugins for simple theme integration 2019-01-07 10:48:14 +01:00