From b06fc319423c84f3513a771b58441fb304d0606f Mon Sep 17 00:00:00 2001
From: Lynda Lopez <45650136+lyndalopez544@users.noreply.github.com>
Date: Wed, 29 Jul 2020 20:31:48 +0000
Subject: [PATCH] DOI improvements: enable HTTPS, update URL of doai.io (#1718)

- enabling HTTPS for sci-hub.tw by default
- making sci-hub the default DOI resolver as it has the largest collection of scientific articles.
- replaced doai.io with dissem.in, as it redirects to this new domain.

Co-authored-by: Aurora of Earth <auroraofearth@ya.ru>
---
 searx/settings.yml       | 4 ++--
 searx/settings_robot.yml | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/searx/settings.yml b/searx/settings.yml
index 1e6c6740b..6d80fc534 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -941,7 +941,7 @@ locales:
 doi_resolvers :
   oadoi.org : 'https://oadoi.org/'
   doi.org : 'https://doi.org/'
-  doai.io  : 'https://doai.io/'
+  doai.io  : 'https://dissem.in/'
   sci-hub.tw : 'https://sci-hub.tw/'
 
-default_doi_resolver : 'oadoi.org'
+default_doi_resolver : 'sci-hub.tw'
diff --git a/searx/settings_robot.yml b/searx/settings_robot.yml
index 33e762689..d43f6fe9c 100644
--- a/searx/settings_robot.yml
+++ b/searx/settings_robot.yml
@@ -39,7 +39,7 @@ locales:
 doi_resolvers :
   oadoi.org : 'https://oadoi.org/'
   doi.org : 'https://doi.org/'
-  doai.io  : 'https://doai.io/'
+  doai.io  : 'https://dissem.in/'
   sci-hub.tw : 'https://sci-hub.tw/'
 
-default_doi_resolver : 'oadoi.org'
+default_doi_resolver : 'sci-hub.tw'