Fixed bug that caused no images to be downloaded

This commit is contained in:
cyian-1756 2017-12-02 05:09:22 -05:00
parent e89b27dc14
commit 761f1e2987

View File

@ -69,9 +69,8 @@ public abstract class AbstractHTMLRipper extends AlbumRipper {
Document doc = getFirstPage();
while (doc != null) {
List<String> imageURLs;
List<String> imageURLs = getURLsFromPage(doc);
if (!hasASAPRipping()) {
imageURLs = getURLsFromPage(doc);
// Remove all but 1 image
if (isThisATest()) {
while (imageURLs.size() > 1) {