summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-04-22 12:20:37 +0200
committerGitHub <noreply@github.com>2021-04-22 12:20:37 +0200
commita0e55a587ab71bc8b18555287ea65a5fc4c2ad87 (patch)
treea26d342371f1e02927b3c6fb7bf19e2eae9aa23c
parentf251a9718e16d74714082af12f3edcc47d810d73 (diff)
parent9a05ad4c73a6da1ae1cbdc2cc890a52acf25440a (diff)
Merge pull request #11 from return42/add-doi
[enh] add DOI resolver from sci-hub / replace default DOI
-rw-r--r--searx/settings.yml7
-rw-r--r--searx/settings_robot.yml11
2 files changed, 14 insertions, 4 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/'
-
-default_doi_resolver : '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'