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
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'XGMN'
|
||||
extClass = '.XGMN'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -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(),
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'BiliManga'
|
||||
extClass = '.BiliManga'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 14 KiB |
@ -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
|
||||
|