diff --git a/src/id/mangkomik/build.gradle b/src/id/mangkomik/build.gradle index 5016245ca..742d2dce4 100644 --- a/src/id/mangkomik/build.gradle +++ b/src/id/mangkomik/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.SirenKomik' themePkg = 'mangathemesia' baseUrl = 'https://sirenkomik.my.id' - overrideVersionCode = 4 + overrideVersionCode = 5 } apply from: "$rootDir/common.gradle" diff --git a/src/id/mangkomik/src/eu/kanade/tachiyomi/extension/id/mangkomik/SirenKomik.kt b/src/id/mangkomik/src/eu/kanade/tachiyomi/extension/id/mangkomik/SirenKomik.kt index 2b1861855..840768cbf 100644 --- a/src/id/mangkomik/src/eu/kanade/tachiyomi/extension/id/mangkomik/SirenKomik.kt +++ b/src/id/mangkomik/src/eu/kanade/tachiyomi/extension/id/mangkomik/SirenKomik.kt @@ -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()