diff --git a/src/id/inazumanga/build.gradle b/src/id/inazumanga/build.gradle index 6be96f3b0..375561f6c 100644 --- a/src/id/inazumanga/build.gradle +++ b/src/id/inazumanga/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.ReYume' themePkg = 'makaru' baseUrl = 'https://www.re-yume.my.id' - overrideVersionCode = 34 + overrideVersionCode = 35 } apply from: "$rootDir/common.gradle" diff --git a/src/id/inazumanga/src/eu/kanade/tachiyomi/extension/id/inazumanga/ReYume.kt b/src/id/inazumanga/src/eu/kanade/tachiyomi/extension/id/inazumanga/ReYume.kt index b7de1b423..7a5f17c56 100644 --- a/src/id/inazumanga/src/eu/kanade/tachiyomi/extension/id/inazumanga/ReYume.kt +++ b/src/id/inazumanga/src/eu/kanade/tachiyomi/extension/id/inazumanga/ReYume.kt @@ -1,5 +1,16 @@ package eu.kanade.tachiyomi.extension.id.inazumanga import eu.kanade.tachiyomi.multisrc.makaru.Makaru +import eu.kanade.tachiyomi.source.model.Page +import eu.kanade.tachiyomi.util.asJsoup +import okhttp3.Response -class ReYume : Makaru("ReYume", "https://www.re-yume.my.id", "id") +class ReYume : Makaru("ReYume", "https://www.re-yume.my.id", "id") { + override fun pageListParse(response: Response): List { + val document = response.asJsoup() + + return document.select(".post-body img").mapIndexed { idx, img -> + Page(idx, imageUrl = img.absUrl("src")) + } + } +}