diff --git a/src/all/mangapark/build.gradle b/src/all/mangapark/build.gradle index 728b37835..3c63e8b7d 100644 --- a/src/all/mangapark/build.gradle +++ b/src/all/mangapark/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'MangaPark v3' pkgNameSuffix = 'all.mangapark' extClass = '.MangaParkFactory' - extVersionCode = 11 + extVersionCode = 12 containsNsfw = true } diff --git a/src/all/mangapark/src/eu/kanade/tachiyomi/extension/all/mangapark/MangaPark.kt b/src/all/mangapark/src/eu/kanade/tachiyomi/extension/all/mangapark/MangaPark.kt index 51c8771d1..caea7d91e 100644 --- a/src/all/mangapark/src/eu/kanade/tachiyomi/extension/all/mangapark/MangaPark.kt +++ b/src/all/mangapark/src/eu/kanade/tachiyomi/extension/all/mangapark/MangaPark.kt @@ -271,8 +271,8 @@ open class MangaPark( } override fun pageListParse(document: Document): List { - 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()