diff --git a/src/all/xgmn/build.gradle b/src/all/xgmn/build.gradle index 46d43b2af..324aba279 100644 --- a/src/all/xgmn/build.gradle +++ b/src/all/xgmn/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'XGMN' extClass = '.XGMN' - extVersionCode = 1 + extVersionCode = 2 isNsfw = true } diff --git a/src/all/xgmn/src/eu/kanade/tachiyomi/extension/all/xgmn/XGMN.kt b/src/all/xgmn/src/eu/kanade/tachiyomi/extension/all/xgmn/XGMN.kt index 82b2dd331..ee1053a05 100644 --- a/src/all/xgmn/src/eu/kanade/tachiyomi/extension/all/xgmn/XGMN.kt +++ b/src/all/xgmn/src/eu/kanade/tachiyomi/extension/all/xgmn/XGMN.kt @@ -40,6 +40,7 @@ class XGMN : HttpSource() { override fun popularMangaParse(response: Response) = response.asJsoup().let { doc -> redirectUrl = redirectUrl ?: doc.location().toHttpUrl().let { "${it.scheme}://${it.host}" } + val cur = doc.selectFirst(".current")?.text()?.toInt() MangasPage( doc.select(".related_box").map { SManga.create().apply { @@ -50,7 +51,7 @@ class XGMN : HttpSource() { } } }, - false, + cur != null && cur < doc.selectFirst(".pagination strong")!!.text().toInt(), ) } diff --git a/src/zh/bilimanga/build.gradle b/src/zh/bilimanga/build.gradle index fa7825cf6..4ca8d0390 100644 --- a/src/zh/bilimanga/build.gradle +++ b/src/zh/bilimanga/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'BiliManga' extClass = '.BiliManga' - extVersionCode = 2 + extVersionCode = 3 isNsfw = true } diff --git a/src/zh/bilimanga/res/mipmap-hdpi/ic_launcher.png b/src/zh/bilimanga/res/mipmap-hdpi/ic_launcher.png index bcf90b3aa..363718c26 100644 Binary files a/src/zh/bilimanga/res/mipmap-hdpi/ic_launcher.png and b/src/zh/bilimanga/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/zh/bilimanga/res/mipmap-mdpi/ic_launcher.png b/src/zh/bilimanga/res/mipmap-mdpi/ic_launcher.png index f9b952e38..3cf6c2932 100644 Binary files a/src/zh/bilimanga/res/mipmap-mdpi/ic_launcher.png and b/src/zh/bilimanga/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/zh/bilimanga/res/mipmap-xhdpi/ic_launcher.png b/src/zh/bilimanga/res/mipmap-xhdpi/ic_launcher.png index e399dcecd..87d3e207a 100644 Binary files a/src/zh/bilimanga/res/mipmap-xhdpi/ic_launcher.png and b/src/zh/bilimanga/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/zh/bilimanga/res/mipmap-xxhdpi/ic_launcher.png b/src/zh/bilimanga/res/mipmap-xxhdpi/ic_launcher.png index 9177b9ea5..85eb4aba6 100644 Binary files a/src/zh/bilimanga/res/mipmap-xxhdpi/ic_launcher.png and b/src/zh/bilimanga/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/zh/bilimanga/res/mipmap-xxxhdpi/ic_launcher.png b/src/zh/bilimanga/res/mipmap-xxxhdpi/ic_launcher.png index e8acafe96..54f4b6a52 100644 Binary files a/src/zh/bilimanga/res/mipmap-xxxhdpi/ic_launcher.png and b/src/zh/bilimanga/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/zh/bilimanga/src/eu/kanade/tachiyomi/extension/zh/bilimanga/BiliManga.kt b/src/zh/bilimanga/src/eu/kanade/tachiyomi/extension/zh/bilimanga/BiliManga.kt index 5260101b9..3e43e9427 100644 --- a/src/zh/bilimanga/src/eu/kanade/tachiyomi/extension/zh/bilimanga/BiliManga.kt +++ b/src/zh/bilimanga/src/eu/kanade/tachiyomi/extension/zh/bilimanga/BiliManga.kt @@ -121,7 +121,7 @@ class BiliManga : HttpSource(), ConfigurableSource { val backupname = doc.selectFirst(".backupname")?.let { "\n\n漫畫別名:\n• ${it.text().split("、").joinToString("\n• ")}" } - url = doc.location() + setUrlWithoutDomain(doc.location()) title = doc.selectFirst(".book-title")!!.text() thumbnail_url = doc.selectFirst(".book-cover")!!.attr("src") description = doc.selectFirst("#bookSummary")?.text() + backupname