MangaPark v3: Fix #9251 (#9253)

* Bump

* Change stuff so that it actually returns null.
This commit is contained in:
FourTOne5 2021-09-27 05:57:39 +06:00 committed by GitHub
parent 4f021f6701
commit b40ee5e463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'MangaPark v3'
pkgNameSuffix = 'all.mangapark'
extClass = '.MangaParkFactory'
extVersionCode = 11
extVersionCode = 12
containsNsfw = true
}

View File

@ -271,8 +271,8 @@ open class MangaPark(
}
override fun pageListParse(document: Document): List<Page> {
if (document.select("div.wrapper-deleted") != null) {
throw Exception("The chapter content seems to be deleted. Contact the site owner if possible.")
if (document.selectFirst("div.wrapper-deleted") != null) {
throw Exception("The chapter content seems to be deleted.\n\nContact the site owner if possible.")
}
val duktape = Duktape.create()