Fix SirenKomik (#6433)
* "Deactivate Html img search" * Verison * Change selector and add explanation
This commit is contained in:
parent
023b928462
commit
816133a4a8
|
@ -3,7 +3,7 @@ ext {
|
|||
extClass = '.SirenKomik'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://sirenkomik.my.id'
|
||||
overrideVersionCode = 4
|
||||
overrideVersionCode = 5
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue