Cocomic: hide paid chapters (#6222)

This commit is contained in:
dngonz 2024-11-23 11:08:49 +01:00 committed by Draff
parent ea644d7697
commit a424ae756f
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.Cocomic' extClass = '.Cocomic'
themePkg = 'madara' themePkg = 'madara'
baseUrl = 'https://cocomic.co' baseUrl = 'https://cocomic.co'
overrideVersionCode = 0 overrideVersionCode = 1
isNsfw = true isNsfw = true
} }

View File

@ -12,4 +12,6 @@ class Cocomic : Madara("Cocomic", "https://cocomic.co", "en") {
.build() .build()
override val useNewChapterEndpoint = true override val useNewChapterEndpoint = true
override fun chapterListSelector() = "li.wp-manga-chapter:not(.premium)"
} }