Keyoapp: Add new variant to popularManga selector (#8206)
All checks were successful
CI / Prepare job (push) Successful in 7s
CI / Build individual modules (push) Successful in 9m54s
CI / Publish repo (push) Successful in 50s

Add new variant to popularManga selector
This commit is contained in:
Chopper 2025-03-25 01:21:14 -03:00 committed by Draff
parent 77bd833e6a
commit 07eba2f8f2
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@ plugins {
id("lib-multisrc")
}
baseVersionCode = 14
baseVersionCode = 15
dependencies {
api(project(":lib:i18n"))

View File

@ -59,7 +59,8 @@ abstract class Keyoapp(
override fun popularMangaRequest(page: Int): Request = GET(baseUrl, headers)
override fun popularMangaSelector(): String = "div.flex-col div.grid > div.group.border"
override fun popularMangaSelector(): String =
"div.flex-col div.grid > div.group.border, div:has(h2:contains(Trending)) + div .group.overflow-hidden.grid"
override fun popularMangaFromElement(element: Element): SManga = SManga.create().apply {
thumbnail_url = element.getImageUrl("*[style*=background-image]")