summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-04-20 15:02:51 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-04-22 12:13:01 +0200
commit9a05ad4c73a6da1ae1cbdc2cc890a52acf25440a (patch)
treea26d342371f1e02927b3c6fb7bf19e2eae9aa23c /searx
parentf251a9718e16d74714082af12f3edcc47d810d73 (diff)
downloadsearxng-9a05ad4c73a6da1ae1cbdc2cc890a52acf25440a.tar.gz
searxng-9a05ad4c73a6da1ae1cbdc2cc890a52acf25440a.zip
[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 <markus.heiser@darmarit.de>
Diffstat (limited to 'searx')
-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'