diff --git a/src/zh/baozimanhua/CHANGELOG.md b/src/zh/baozimanhua/CHANGELOG.md index 907aa294a..75c83454d 100644 --- a/src/zh/baozimanhua/CHANGELOG.md +++ b/src/zh/baozimanhua/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.2.5 (2022-05-17) + +- 提高 banner 识别容错率,切除噪声更多的 banner + ## 1.2.4 (2022-05-14) - 图源名改为中文 diff --git a/src/zh/baozimanhua/build.gradle b/src/zh/baozimanhua/build.gradle index a55f6c024..b33aec10e 100644 --- a/src/zh/baozimanhua/build.gradle +++ b/src/zh/baozimanhua/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Baozimanhua' pkgNameSuffix = 'zh.baozimanhua' extClass = '.Baozimanhua' - extVersionCode = 4 + extVersionCode = 5 } apply from: "$rootDir/common.gradle" diff --git a/src/zh/baozimanhua/src/eu/kanade/tachiyomi/extension/zh/baozimanhua/BannerInterceptor.kt b/src/zh/baozimanhua/src/eu/kanade/tachiyomi/extension/zh/baozimanhua/BannerInterceptor.kt index 87c32f64d..2fd93a92f 100644 --- a/src/zh/baozimanhua/src/eu/kanade/tachiyomi/extension/zh/baozimanhua/BannerInterceptor.kt +++ b/src/zh/baozimanhua/src/eu/kanade/tachiyomi/extension/zh/baozimanhua/BannerInterceptor.kt @@ -24,7 +24,7 @@ class BannerInterceptor : Interceptor { banner.recycle() buffer } - private val threshold by lazy { w * h * 3 / 2 } // 0.5 per pixel per channel + private val threshold by lazy { w * h * 3 } // 1 per pixel per channel override fun intercept(chain: Interceptor.Chain): Response { val url = chain.request().url.toString()