Bilimanga & XGMN: fix manga url error when opening webview and the issue with page turning (#10146)

* Fix manga url error when opening webview

* fixing the issue with page turning

* update icon

* revert
This commit is contained in:
Hualiang 2025-08-16 21:18:34 +08:00 committed by Draff
parent 672c54a8cc
commit 4bafe8c57e
Signed by: Draff
GPG Key ID: E8A89F3211677653
9 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'XGMN'
extClass = '.XGMN'
extVersionCode = 1
extVersionCode = 2
isNsfw = true
}

View File

@ -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(),
)
}

View File

@ -1,7 +1,7 @@
ext {
extName = 'BiliManga'
extClass = '.BiliManga'
extVersionCode = 2
extVersionCode = 3
isNsfw = true
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -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