1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-04-22 12:42:02 +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
commit 359a29388f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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