Keyoapp: better selector for paid chapters (#8627)

This commit is contained in:
AwkwardPeak7 2025-04-26 18:32:16 +05:00 committed by Draff
parent ee29f284f5
commit f8a44eb538
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -251,7 +251,7 @@ abstract class Keyoapp(
override fun chapterListSelector(): String {
if (!preferences.showPaidChapters) {
return "#chapters > a:not(:has(.text-sm span:matches(Upcoming))):not(:has(img[src*=Coin.svg]))"
return "#chapters > a:not(:has(.text-sm span:matches(Upcoming))):not(:has(img[alt~=Coin]))"
}
return "#chapters > a:not(:has(.text-sm span:matches(Upcoming)))"
}

View File

@ -22,7 +22,7 @@ class RitharScans : Keyoapp("RitharScans", "https://ritharscans.com", "en") {
return MangasPage(mangas, false)
}
override fun genresRequest() = GET("$baseUrl/search/", headers)
override fun genresRequest() = GET("$baseUrl/search", headers)
override fun parseGenres(document: Document): List<Genre> {
return document.select("[x-data*=genre] button").map {