Now uses https for all links
This commit is contained in:
parent
56422e0f00
commit
274bf2f879
@ -100,10 +100,10 @@ public class EightmusesRipper extends AbstractHTMLRipper {
|
|||||||
if (subUrl != "") {
|
if (subUrl != "") {
|
||||||
subUrl = subUrl.replaceAll("\\.\\./", "");
|
subUrl = subUrl.replaceAll("\\.\\./", "");
|
||||||
if (subUrl.startsWith("//")) {
|
if (subUrl.startsWith("//")) {
|
||||||
subUrl = "http:";
|
subUrl = "https:";
|
||||||
}
|
}
|
||||||
else if (!subUrl.startsWith("http://")) {
|
else if (!subUrl.startsWith("http://")) {
|
||||||
subUrl = "http://www.8muses.com" + subUrl;
|
subUrl = "https://www.8muses.com" + subUrl;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
logger.info("Retrieving " + subUrl);
|
logger.info("Retrieving " + subUrl);
|
||||||
|
Loading…
Reference in New Issue
Block a user