Replace placeholder image with actual image (#9626)
This commit is contained in:
parent
6a5bad1f42
commit
0f6ad3b02b
|
@ -0,0 +1,18 @@
|
|||
package eu.kanade.tachiyomi.extension.en.infernalvoidscans
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
|
||||
import org.jsoup.nodes.Document
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
|
||||
class InfernalVoidScans : WPMangaStream("Infernal Void Scans", "https://infernalvoidscans.com", "en") {
|
||||
// Site dynamically replaces a placeholder image in the "src" tag with the actual url in "data-src"
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
return super.pageListParse(
|
||||
document.apply {
|
||||
select(pageSelector).forEach {
|
||||
it.attr("src", it.attr("data-src"))
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
|
@ -14,7 +14,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
|
|||
|
||||
override val sources = listOf(
|
||||
MultiLang("Asura Scans", "https://www.asurascans.com", listOf("en", "tr"), className = "AsuraScansFactory", pkgName = "asurascans", overrideVersionCode = 6),
|
||||
SingleLang("Infernal Void Scans", "https://infernalvoidscans.com", "en"),
|
||||
SingleLang("Infernal Void Scans", "https://infernalvoidscans.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("KlanKomik", "https://klankomik.com", "id", overrideVersionCode = 1),
|
||||
SingleLang("Kombatch", "https://kombatch.com", "id"),
|
||||
SingleLang("MasterKomik", "https://masterkomik.com", "id", overrideVersionCode = 1),
|
||||
|
|
Loading…
Reference in New Issue