ReYume: fix page list (#1779)
This commit is contained in:
parent
1d7c252a48
commit
33bfee0f2a
|
@ -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"
|
||||||
|
|
|
@ -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"))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue