Jinman Tiantang: update mirror URL (#14012)

This commit is contained in:
stevenyomi 2022-10-28 21:52:56 +08:00 committed by GitHub
parent f11ff6a1c0
commit c8ed15f451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 9 deletions

View File

@ -23,11 +23,11 @@
android:pathPattern="/album/..*"
android:scheme="https" />
<data
android:host="jmcomic.asia"
android:host="jmcomic.win"
android:pathPattern="/album/..*"
android:scheme="https" />
<data
android:host="jmcomic1.city"
android:host="jmcomic1.win"
android:pathPattern="/album/..*"
android:scheme="https" />
<data
@ -38,6 +38,10 @@
android:host="jmcomic1.me"
android:pathPattern="/album/..*"
android:scheme="https" />
<data
android:host="jmcomic1.moe"
android:pathPattern="/album/..*"
android:scheme="https" />
</intent-filter>
</activity>
</application>

View File

@ -5,7 +5,7 @@ ext {
extName = 'Jinman Tiantang'
pkgNameSuffix = 'zh.jinmantiantang'
extClass = '.Jinmantiantang'
extVersionCode = 30
extVersionCode = 31
isNsfw = true
}

View File

@ -176,11 +176,7 @@ class Jinmantiantang : ParsedHttpSource(), ConfigurableSource {
// 查询作者信息
private fun selectAuthor(document: Document): String {
val element = document.select("div.panel-body div.tag-block")[3]
return if (element.select("a").size == 0) {
"未知"
} else {
element.select("a").text().trim().replace(" ", ", ")
}
return element.select(".btn-primary").joinToString { it.text() }
}
// 查询漫画状态和类别信息

View File

@ -60,12 +60,14 @@ internal val SITE_ENTRIES_ARRAY_DESCRIPTION = arrayOf(
"主站", "海外分流",
"中国大陆总站", "中国大陆分流",
"东南亚线路1", "东南亚线路2",
"中国大陆分流2",
)
// List is based on https://jmcomic.bet/
// Please also update AndroidManifest
internal val SITE_ENTRIES_ARRAY = arrayOf(
"18comic.vip", "18comic.org",
"jmcomic.asia", "jmcomic1.city",
"jmcomic.win", "jmcomic1.win",
"jmcomic.me", "jmcomic1.me",
"jmcomic1.moe",
)