1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-13 01:14:14 +02:00

Fixed an IndexOutOfBoundException while fetching the next page.

This commit is contained in:
Tushar
2019-04-15 18:53:42 +05:30
parent 822ff72a58
commit b36fd1aa6a

View File

@@ -100,7 +100,9 @@ public class ComicextraRipper extends AbstractHTMLRipper {
if (urlType == UrlType.COMIC) {
++chapterIndex;
imageIndex = 0; // Resetting the imagesIndex so that images prefix within each chapter starts from '001_'.
return Http.url(chaptersList.get(chapterIndex)).get();
if (chapterIndex < chaptersList.size()) {
return Http.url(chaptersList.get(chapterIndex)).get();
}
}
return super.getNextPage(doc);