mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-09-08 05:00:52 +02:00
@@ -83,10 +83,9 @@ public class ImagefapRipper extends AbstractHTMLRipper {
|
||||
@Override
|
||||
public Document getNextPage(Document doc) throws IOException {
|
||||
String nextURL = null;
|
||||
for (Element a : albumDoc.select("a.link3")) {
|
||||
for (Element a : doc.select("a.link3")) {
|
||||
if (a.text().contains("next")) {
|
||||
nextURL = a.attr("href");
|
||||
nextURL = "http://imagefap.com/gallery.php" + nextURL;
|
||||
nextURL = "http://imagefap.com/gallery.php" + a.attr("href");
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -100,7 +99,7 @@ public class ImagefapRipper extends AbstractHTMLRipper {
|
||||
@Override
|
||||
public List<String> getURLsFromPage(Document doc) {
|
||||
List<String> imageURLs = new ArrayList<String>();
|
||||
for (Element thumb : albumDoc.select("#gallery img")) {
|
||||
for (Element thumb : doc.select("#gallery img")) {
|
||||
if (!thumb.hasAttr("src") || !thumb.hasAttr("width")) {
|
||||
continue;
|
||||
}
|
||||
|
@@ -21,7 +21,7 @@ import com.rarchives.ripme.utils.Utils;
|
||||
public class UpdateUtils {
|
||||
|
||||
private static final Logger logger = Logger.getLogger(UpdateUtils.class);
|
||||
private static final String DEFAULT_VERSION = "1.0.85";
|
||||
private static final String DEFAULT_VERSION = "1.0.86";
|
||||
private static final String updateJsonURL = "http://rarchives.com/ripme.json";
|
||||
private static final String updateJarURL = "http://rarchives.com/ripme.jar";
|
||||
private static final String mainFileName = "ripme.jar";
|
||||
|
Reference in New Issue
Block a user