From 12ff6d48ac92c70ab0ea63f5f30555a3cb6898a5 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Sat, 4 Mar 2017 12:54:19 +0100
Subject: [PATCH] ncbi switched to https

---
 .../lcsb/mapviewer/annotation/services/TaxonomyBackend.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/annotation/src/main/java/lcsb/mapviewer/annotation/services/TaxonomyBackend.java b/annotation/src/main/java/lcsb/mapviewer/annotation/services/TaxonomyBackend.java
index a0f44718f2..e6d3655a19 100644
--- a/annotation/src/main/java/lcsb/mapviewer/annotation/services/TaxonomyBackend.java
+++ b/annotation/src/main/java/lcsb/mapviewer/annotation/services/TaxonomyBackend.java
@@ -179,7 +179,8 @@ public class TaxonomyBackend extends CachableInterface implements IExternalServi
 		}
 
 		try {
-			String url = "http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=" + miriamData.getResource();
+			String url = "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=" + miriamData.getResource();
+			logger.debug(url);
 			String page = getWebPageContent(url);
 			Pattern idPattern = Pattern.compile("<h2>([A-Za-z0-9\\ \\.]+)</h2>");
 			Matcher matcher = idPattern.matcher(page);
-- 
GitLab