Skip to content

Commit

Permalink
fix manga details
Browse files Browse the repository at this point in the history
  • Loading branch information
dngonz committed Jan 4, 2025
1 parent 0ac97a9 commit 65ac76f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib-multisrc/keyoapp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id("lib-multisrc")
}

baseVersionCode = 9
baseVersionCode = 10

dependencies {
api(project(":lib:i18n"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,12 @@ abstract class Keyoapp(
override fun mangaDetailsParse(document: Document): SManga = SManga.create().apply {
title = document.selectFirst("div.grid > h1")!!.text()
thumbnail_url = document.getImageUrl("div[class*=photoURL]")
description = document.selectFirst("div.grid > div.overflow-hidden > p")?.text()
status = document.selectFirst("div[alt=Status]").parseStatus()
author = document.selectFirst("div[alt=Author]")?.text()
artist = document.selectFirst("div[alt=Artist]")?.text()
description = document.selectFirst("p.rounded-lg")?.text()
status = document.selectFirst("div:has(span:containsOwn(Status)) ~ div").parseStatus()
author = document.selectFirst("div:has(span:containsOwn(Author)) ~ div")?.text()
artist = document.selectFirst("div:has(span:containsOwn(Artist)) ~ div")?.text()
genre = buildList {
document.selectFirst("div[alt='Series Type']")?.text()?.replaceFirstChar {
document.selectFirst("div:has(span:containsOwn(Type)) ~ div")?.text()?.replaceFirstChar {
if (it.isLowerCase()) {
it.titlecase(
Locale.getDefault(),
Expand Down

0 comments on commit 65ac76f

Please sign in to comment.