Implemented a last seen feature; Added comments
This commit is contained in:
parent
66739e4c7c
commit
8c86377a7f
@ -68,7 +68,14 @@ public abstract class AbstractHTMLRipper extends AlbumRipper {
|
||||
Document doc = getFirstPage();
|
||||
|
||||
while (doc != null) {
|
||||
logger.debug("alreadyDownloadedUrls is " + alreadyDownloadedUrls);
|
||||
if (alreadyDownloadedUrls >= Utils.getConfigInteger("skip_after_already_seen", -1) && !isThisATest()) {
|
||||
sendUpdate(STATUS.DOWNLOAD_COMPLETE, "Already seen the last " + alreadyDownloadedUrls + " images ending rip");
|
||||
break;
|
||||
}
|
||||
List<String> imageURLs = getURLsFromPage(doc);
|
||||
// If hasASAPRipping() returns true then the ripper will handle downloading the files
|
||||
// if not it's done in the following block of code
|
||||
if (!hasASAPRipping()) {
|
||||
// Remove all but 1 image
|
||||
if (isThisATest()) {
|
||||
|
Loading…
Reference in New Issue
Block a user