Colamanga: Fix thumbnail_url (#5784)

This commit is contained in:
anenasa 2024-10-30 23:06:43 +08:00 committed by GitHub
parent 46847b17cc
commit c37b370553
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ plugins {
id("lib-multisrc") id("lib-multisrc")
} }
baseVersionCode = 4 baseVersionCode = 5
dependencies { dependencies {
api(project(":lib:synchrony")) api(project(":lib:synchrony"))

View File

@ -153,7 +153,7 @@ abstract class ColaManga(
override fun mangaDetailsParse(document: Document) = SManga.create().apply { override fun mangaDetailsParse(document: Document) = SManga.create().apply {
title = document.selectFirst("h1.fed-part-eone")!!.text() title = document.selectFirst("h1.fed-part-eone")!!.text()
thumbnail_url = document.selectFirst("a.fed-list-pics")?.absUrl("data-orignal") thumbnail_url = document.selectFirst("a.fed-list-pics")?.absUrl("data-original")
author = document.selectFirst("span.fed-text-muted:contains($authorTitle) + a")?.text() author = document.selectFirst("span.fed-text-muted:contains($authorTitle) + a")?.text()
genre = document.select("span.fed-text-muted:contains($genreTitle) ~ a").joinToString { it.text() } genre = document.select("span.fed-text-muted:contains($genreTitle) ~ a").joinToString { it.text() }
description = document description = document