ReYume: fix page list (#1779)

This commit is contained in:
AwkwardPeak7 2024-03-09 19:42:38 +05:00 committed by Draff
parent 1d7c252a48
commit 33bfee0f2a
2 changed files with 13 additions and 2 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.ReYume' extClass = '.ReYume'
themePkg = 'makaru' themePkg = 'makaru'
baseUrl = 'https://www.re-yume.my.id' baseUrl = 'https://www.re-yume.my.id'
overrideVersionCode = 34 overrideVersionCode = 35
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View File

@ -1,5 +1,16 @@
package eu.kanade.tachiyomi.extension.id.inazumanga package eu.kanade.tachiyomi.extension.id.inazumanga
import eu.kanade.tachiyomi.multisrc.makaru.Makaru 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<Page> {
val document = response.asJsoup()
return document.select(".post-body img").mapIndexed { idx, img ->
Page(idx, imageUrl = img.absUrl("src"))
}
}
}