Throw a error when the 509 gif is given when your downloading or loading a chapter from Exh and E-H
This commit is contained in:
parent
bff654eac8
commit
f1a6218a4b
@ -359,7 +359,7 @@ class EHentai(
|
||||
it.mapIndexed { i, s ->
|
||||
Page(i, s)
|
||||
}
|
||||
}!!
|
||||
}!!.doOnNext { pages -> if (pages.any { it.url == "https://$domain/img/509.gif" }) throw Exception("Hit page limit") }
|
||||
|
||||
private fun fetchChapterPage(
|
||||
chapter: SChapter,
|
||||
|
Loading…
x
Reference in New Issue
Block a user