Initial commit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
BIN
multisrc/overrides/zeistmanga/shiyurasub/res/web_hi_res_512.png
Normal file
BIN
multisrc/overrides/zeistmanga/shiyurasub/res/web_hi_res_512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 172 KiB |
32
multisrc/overrides/zeistmanga/shiyurasub/src/ShiyuraSub.kt
Normal file
32
multisrc/overrides/zeistmanga/shiyurasub/src/ShiyuraSub.kt
Normal file
@@ -0,0 +1,32 @@
|
||||
package eu.kanade.tachiyomi.extension.id.shiyurasub
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.zeistmanga.ZeistManga
|
||||
import eu.kanade.tachiyomi.source.model.MangasPage
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import eu.kanade.tachiyomi.util.asJsoup
|
||||
import okhttp3.Request
|
||||
import okhttp3.Response
|
||||
|
||||
class ShiyuraSub : ZeistManga("ShiyuraSub", "https://shiyurasub.blogspot.com", "id") {
|
||||
|
||||
override val hasFilters = true
|
||||
override val hasLanguageFilter = false
|
||||
|
||||
override val supportsLatest = false
|
||||
|
||||
override fun popularMangaRequest(page: Int): Request = latestUpdatesRequest(page)
|
||||
override fun popularMangaParse(response: Response): MangasPage = latestUpdatesParse(response)
|
||||
|
||||
override val pageListSelector = "main.content article.container"
|
||||
|
||||
override fun mangaDetailsParse(response: Response): SManga {
|
||||
val document = response.asJsoup()
|
||||
val profileManga = document.selectFirst("main.content.post")!!
|
||||
return SManga.create().apply {
|
||||
thumbnail_url = profileManga.selectFirst("div.grid img")!!.attr("abs:src")
|
||||
description = profileManga.select("#synopsis").text()
|
||||
genre = profileManga.select("div.my-5 > a[rel=tag]")
|
||||
.joinToString { it.text() }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user