Browse Source

Merge pull request #11 from return42/add-doi

[enh] add DOI resolver from sci-hub / replace default DOI
Alexandre Flament 4 years ago
parent
commit
a0e55a587a
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/'
   oadoi.org : 'https://oadoi.org/'
   doi.org : 'https://doi.org/'
   doi.org : 'https://doi.org/'
   doai.io  : 'https://dissem.in/'
   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'
 default_doi_resolver : 'oadoi.org'

+ 8 - 3
searx/settings_robot.yml

@@ -43,6 +43,11 @@ doi_resolvers :
   oadoi.org : 'https://oadoi.org/'
   oadoi.org : 'https://oadoi.org/'
   doi.org : 'https://doi.org/'
   doi.org : 'https://doi.org/'
   doai.io  : 'https://dissem.in/'
   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'