1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-08 06:46:41 +02:00

Merge pull request #1640 from version365/patch-1

Changed imagefap links from http to https
This commit is contained in:
cyian-1756
2020-05-21 03:59:39 +00:00
committed by GitHub

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;
} }
} }