mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-13 09:24:25 +02:00
Fixed an IndexOutOfBoundException while fetching the next page.
This commit is contained in:
@@ -100,7 +100,9 @@ public class ComicextraRipper extends AbstractHTMLRipper {
|
|||||||
if (urlType == UrlType.COMIC) {
|
if (urlType == UrlType.COMIC) {
|
||||||
++chapterIndex;
|
++chapterIndex;
|
||||||
imageIndex = 0; // Resetting the imagesIndex so that images prefix within each chapter starts from '001_'.
|
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);
|
return super.getNextPage(doc);
|
||||||
|
Reference in New Issue
Block a user