From 9a05ad4c73a6da1ae1cbdc2cc890a52acf25440a Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 20 Apr 2021 15:02:51 +0200 Subject: [PATCH] [enh] add DOI resolver from sci-hub / replace default DOI The new sci-hub URLs are comming from @aurora-vasiliev [1]. [1] https://github.com/searx/searx/pull/2706 Signed-off-by: Markus Heiser --- searx/settings.yml | 7 ++++++- searx/settings_robot.yml | 9 +++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/searx/settings.yml b/searx/settings.yml index 1940739bc..e4c672507 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1422,6 +1422,11 @@ doi_resolvers : oadoi.org : 'https://oadoi.org/' doi.org : 'https://doi.org/' doai.io : 'https://dissem.in/' - sci-hub.tw : 'https://sci-hub.tw/' + sci-hub.se : 'https://sci-hub.se/' + sci-hub.do : 'https://sci-hub.do/' + scihubtw.tw : 'https://scihubtw.tw/' + sci-hub.st : 'https://sci-hub.st/' + sci-hub.bar : 'https://sci-hub.bar/' + sci-hub.it.nf : 'https://sci-hub.it.nf/' default_doi_resolver : 'oadoi.org' diff --git a/searx/settings_robot.yml b/searx/settings_robot.yml index 05c8eeb8c..0f015dbec 100644 --- a/searx/settings_robot.yml +++ b/searx/settings_robot.yml @@ -43,6 +43,11 @@ doi_resolvers : oadoi.org : 'https://oadoi.org/' doi.org : 'https://doi.org/' doai.io : 'https://dissem.in/' - sci-hub.tw : 'https://sci-hub.tw/' + sci-hub.se : 'https://sci-hub.se/' + sci-hub.do : 'https://sci-hub.do/' + scihubtw.tw : 'https://scihubtw.tw/' + sci-hub.st : 'https://sci-hub.st/' + sci-hub.bar : 'https://sci-hub.bar/' + sci-hub.it.nf : 'https://sci-hub.it.nf/' -default_doi_resolver : 'sci-hub.tw' +default_doi_resolver : 'oadoi.org'