Browse Source

[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>
Markus Heiser 4 years ago
parent
commit
9a05ad4c73
2 changed files with 14 additions and 4 deletions
  1. 6 1
      searx/settings.yml
  2. 8 3
      searx/settings_robot.yml

+ 6 - 1
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'

+ 8 - 3
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'