Merge pull request #444 from cyian-1756/lastseenfix

Changed default value for history.end_rip_after_already_seen
This commit is contained in:
cyian-1756 2018-02-25 21:22:50 -05:00 committed by GitHub
commit 9ad2cc45f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ public abstract class AbstractHTMLRipper extends AlbumRipper {
Document doc = getFirstPage(); Document doc = getFirstPage();
while (doc != null) { while (doc != null) {
if (alreadyDownloadedUrls >= Utils.getConfigInteger("history.end_rip_after_already_seen", -1) && !isThisATest()) { if (alreadyDownloadedUrls >= Utils.getConfigInteger("history.end_rip_after_already_seen", 1000000000) && !isThisATest()) {
sendUpdate(STATUS.DOWNLOAD_COMPLETE, "Already seen the last " + alreadyDownloadedUrls + " images ending rip"); sendUpdate(STATUS.DOWNLOAD_COMPLETE, "Already seen the last " + alreadyDownloadedUrls + " images ending rip");
break; break;
} }