Fix SirenKomik (#6433)

* "Deactivate Html img search"

* Verison

* Change selector and add explanation
This commit is contained in:
Creepler13 2024-12-03 14:24:48 +01:00 committed by Draff
parent 023b928462
commit 816133a4a8
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.SirenKomik'
themePkg = 'mangathemesia'
baseUrl = 'https://sirenkomik.my.id'
overrideVersionCode = 4
overrideVersionCode = 5
}
apply from: "$rootDir/common.gradle"

View File

@ -27,6 +27,9 @@ class SirenKomik : MangaThemesia(
override fun chapterListSelector() = ".list-chapter a"
// Overridden since MangeThemesia doesn't search for jsonData in script tags, because it finds the bait images with the default selector
override val pageSelector: String = ":not(*)"
override fun chapterFromElement(element: Element) = SChapter.create().apply {
name = element.selectFirst(".nomer-chapter")!!.text()
date_upload = element.selectFirst(".tgl-chapter")?.text().parseChapterDate()