Now uses https for all links

This commit is contained in:
cyian-1756 2017-08-11 14:55:39 -04:00
parent 56422e0f00
commit 274bf2f879

View File

@ -100,10 +100,10 @@ public class EightmusesRipper extends AbstractHTMLRipper {
if (subUrl != "") {
subUrl = subUrl.replaceAll("\\.\\./", "");
if (subUrl.startsWith("//")) {
subUrl = "http:";
subUrl = "https:";
}
else if (!subUrl.startsWith("http://")) {
subUrl = "http://www.8muses.com" + subUrl;
subUrl = "https://www.8muses.com" + subUrl;
}
try {
logger.info("Retrieving " + subUrl);