Keyoapp: better selector for paid chapters (#8627)
This commit is contained in:
parent
ee29f284f5
commit
f8a44eb538
@ -2,7 +2,7 @@ plugins {
|
||||
id("lib-multisrc")
|
||||
}
|
||||
|
||||
baseVersionCode = 16
|
||||
baseVersionCode = 17
|
||||
|
||||
dependencies {
|
||||
api(project(":lib:i18n"))
|
||||
|
@ -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)))"
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user