Skip to content
Snippets Groups Projects
Commit 12ff6d48 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

ncbi switched to https

parent 32812f41
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment