VlogTruyen: update domain & fix pageListParse & Use a clear logo (#7620)

* update domain & update pageListParse

* Use a clear logo
This commit is contained in:
are-are-are 2025-02-12 23:17:26 +07:00 committed by Draff
parent 7c3386fcf2
commit 94aeab80fa
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
7 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'ThichDoc' extName = 'ThichDoc'
extClass = '.VlogTruyen' extClass = '.VlogTruyen'
extVersionCode = 5 extVersionCode = 6
isNsfw = true isNsfw = true
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

@ -43,7 +43,7 @@ class VlogTruyen : ParsedHttpSource(), ConfigurableSource {
override val id: Long = 6425642624422299254 override val id: Long = 6425642624422299254
private val defaultBaseUrl = "https://thichdoc.net" private val defaultBaseUrl = "https://thichdoc1.com"
override val baseUrl by lazy { getPrefBaseUrl() } override val baseUrl by lazy { getPrefBaseUrl() }
@ -161,11 +161,11 @@ class VlogTruyen : ParsedHttpSource(), ConfigurableSource {
override fun pageListParse(document: Document): List<Page> { override fun pageListParse(document: Document): List<Page> {
val loginRequired = document.selectFirst(".area-show-content span") val loginRequired = document.selectFirst(".area-show-content span")
if (loginRequired != null) { if (loginRequired!!.text() == "Xin lỗi, bạn cần đăng nhập để đọc được chapter này!") {
throw Exception("${loginRequired.text()} Hãy đăng nhập trong WebView.") throw Exception("${loginRequired.text()} \n Hãy đăng nhập trong WebView.")
} }
return document.select(".comicDetails img").mapIndexed { i, e -> return document.select("img.image-commic").mapIndexed { i, e ->
Page(i, imageUrl = e.attr("abs:src")) Page(i, imageUrl = e.absUrl("src"))
} }
} }