Initial commit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 995 B |
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.2 KiB |
BIN
multisrc/overrides/gigaviewer/kuragebunch/res/web_hi_res_512.png
Normal file
BIN
multisrc/overrides/gigaviewer/kuragebunch/res/web_hi_res_512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
44
multisrc/overrides/gigaviewer/kuragebunch/src/KurageBunch.kt
Normal file
44
multisrc/overrides/gigaviewer/kuragebunch/src/KurageBunch.kt
Normal file
@@ -0,0 +1,44 @@
|
||||
package eu.kanade.tachiyomi.extension.ja.kuragebunch
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.gigaviewer.GigaViewer
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import okhttp3.OkHttpClient
|
||||
import okhttp3.Request
|
||||
import org.jsoup.nodes.Element
|
||||
|
||||
class KurageBunch : GigaViewer(
|
||||
"Kurage Bunch",
|
||||
"https://kuragebunch.com",
|
||||
"ja",
|
||||
"https://cdn-img.kuragebunch.com",
|
||||
) {
|
||||
|
||||
override val supportsLatest: Boolean = false
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.addInterceptor(::imageIntercept)
|
||||
.build()
|
||||
|
||||
override val publisher: String = "株式会社"
|
||||
|
||||
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/series/kuragebunch", headers)
|
||||
|
||||
override fun popularMangaSelector(): String = "ul.page-series-list li div.item-box"
|
||||
|
||||
override fun popularMangaFromElement(element: Element): SManga = SManga.create().apply {
|
||||
title = element.selectFirst("a.series-data-container h4")!!.text()
|
||||
thumbnail_url = element.selectFirst("a.series-thumb img")!!.attr("data-src")
|
||||
setUrlWithoutDomain(element.selectFirst("a")!!.attr("href"))
|
||||
}
|
||||
|
||||
override fun chapterListSelector(): String = "li.episode"
|
||||
|
||||
override fun getCollections(): List<Collection> = listOf(
|
||||
Collection("くらげバンチ", "kuragebunch"),
|
||||
Collection("読切", "oneshot"),
|
||||
Collection("月刊コミックバンチ", "comicbunch"),
|
||||
Collection("Bバンチ", "bbunch"),
|
||||
Collection("ututu", "ututu"),
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user