diff --git a/src/zh/baozimanhua/CHANGELOG.md b/src/zh/baozimanhua/CHANGELOG.md index dc8010cb2..26bd5d51f 100644 --- a/src/zh/baozimanhua/CHANGELOG.md +++ b/src/zh/baozimanhua/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.3.14 (2022-11-14) + +- 修复未分页的章节不断加载后续章节图片的问题 + ## 1.3.13 (2022-11-09) - 修复章节目录和图片分页 diff --git a/src/zh/baozimanhua/build.gradle b/src/zh/baozimanhua/build.gradle index cafb98730..8dc44c060 100644 --- a/src/zh/baozimanhua/build.gradle +++ b/src/zh/baozimanhua/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Baozi Manhua' pkgNameSuffix = 'zh.baozimanhua' extClass = '.Baozi' - extVersionCode = 13 + extVersionCode = 14 } apply from: "$rootDir/common.gradle" diff --git a/src/zh/baozimanhua/src/eu/kanade/tachiyomi/extension/zh/baozimanhua/Baozi.kt b/src/zh/baozimanhua/src/eu/kanade/tachiyomi/extension/zh/baozimanhua/Baozi.kt index ab6d68961..7deac908a 100644 --- a/src/zh/baozimanhua/src/eu/kanade/tachiyomi/extension/zh/baozimanhua/Baozi.kt +++ b/src/zh/baozimanhua/src/eu/kanade/tachiyomi/extension/zh/baozimanhua/Baozi.kt @@ -144,7 +144,10 @@ class Baozi : ParsedHttpSource(), ConfigurableSource { }.mapTo(pageList) { element -> Page(i++, imageUrl = element.attr("src")) } - url = document.selectFirst(Evaluator.Id("next-chapter"))?.attr("href") ?: break + url = document.selectFirst(Evaluator.Id("next-chapter")) + ?.takeIf { it.text() == "下一页" } + ?.attr("href") + ?: break } pageList }