1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-09 15:26:53 +02:00

changed imagefap links from http to https

#1629 
#1387 
#1074 
#1065
This commit is contained in:
Version Kinda
2020-05-02 09:10:19 +05:30
committed by GitHub
parent 6128862fbf
commit bf8f386631

View File

@@ -38,7 +38,7 @@ public class ImagefapRipper extends AbstractHTMLRipper {
@Override @Override
public URL sanitizeURL(URL url) throws MalformedURLException { public URL sanitizeURL(URL url) throws MalformedURLException {
String gid = getGID(url); String gid = getGID(url);
String newURL = "http://www.imagefap.com/gallery.php?"; String newURL = "https://www.imagefap.com/gallery.php?";
if (isNewAlbumType) { if (isNewAlbumType) {
newURL += "p"; newURL += "p";
} }
@@ -107,7 +107,7 @@ public class ImagefapRipper extends AbstractHTMLRipper {
String nextURL = null; String nextURL = null;
for (Element a : doc.select("a.link3")) { for (Element a : doc.select("a.link3")) {
if (a.text().contains("next")) { if (a.text().contains("next")) {
nextURL = "http://imagefap.com/gallery.php" + a.attr("href"); nextURL = "https://imagefap.com/gallery.php" + a.attr("href");
break; break;
} }
} }