.oO SearXNG Developer Documentation Oo.
|
Go to the source code of this file.
Namespaces | |
namespace | searx |
namespace | searx.plugins |
namespace | searx.plugins.oa_doi_rewrite |
Functions | |
searx.plugins.oa_doi_rewrite.extract_doi (url) | |
searx.plugins.oa_doi_rewrite.get_doi_resolver (preferences) | |
searx.plugins.oa_doi_rewrite.on_result (request, _search, result) | |
Variables | |
searx.plugins.oa_doi_rewrite.regex = re.compile(r'10\.\d{4,9}/[^\s]+') | |
searx.plugins.oa_doi_rewrite.name = gettext('Open Access DOI rewrite') | |
searx.plugins.oa_doi_rewrite.description = gettext('Avoid paywalls by redirecting to open-access versions of publications when available') | |
bool | searx.plugins.oa_doi_rewrite.default_on = False |
str | searx.plugins.oa_doi_rewrite.preference_section = 'general' |