fix bulu manga - chapter image issue (#5419)

This commit is contained in:
Riztard Lanthorn 2021-01-15 00:16:33 +07:00 committed by GitHub
parent f9ac810129
commit e906749837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'zBulu'
pkgNameSuffix = 'all.zbulu'
extClass = '.ZbuluFactory'
extVersionCode = 3
extVersionCode = 4
libVersion = '1.2'
}

View File

@ -2,6 +2,8 @@ package eu.kanade.tachiyomi.extension.all.zbulu
import eu.kanade.tachiyomi.source.Source
import eu.kanade.tachiyomi.source.SourceFactory
import eu.kanade.tachiyomi.source.model.Page
import org.jsoup.nodes.Document
class ZbuluFactory : SourceFactory {
override fun createSources(): List<Source> = listOf(
@ -15,4 +17,10 @@ class ZbuluFactory : SourceFactory {
class HolyManga : Zbulu("HolyManga", "https://w15.holymanga.net")
class HeavenManga : Zbulu("HeavenManga", "http://heaventoon.com")
class KooManga : Zbulu("Koo Manga", "http://ww1.koomanga.com")
class BuluManga : Zbulu("Bulu Manga", "https://ww5.bulumanga.net")
class BuluManga : Zbulu("Bulu Manga", "https://ww5.bulumanga.net") {
override fun pageListParse(document: Document): List<Page> {
return document.select("div.chapter-content img").mapIndexed { i, img ->
Page(i, "", img.attr("abs:src").substringAfter("url="))
}
}
}