1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-04-22 12:42:02 +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
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;
}
}