Initial commit

This commit is contained in:
FourTOne5
2024-01-09 04:12:39 +06:00
commit 600c345dfe
8593 changed files with 150590 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@@ -0,0 +1,42 @@
package eu.kanade.tachiyomi.extension.ja.comiplex
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 Comiplex : GigaViewer(
"Comiplex",
"https://viewer.heros-web.com",
"ja",
"https://cdn-img.viewer.heros-web.com/public/page",
) {
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/heros", headers)
override fun popularMangaSelector(): String = "ul.series-items li.series-item > a"
override fun popularMangaFromElement(element: Element): SManga = SManga.create().apply {
title = element.selectFirst("h4.item-series-title")!!.text()
thumbnail_url = element.selectFirst("div.series-item-thumb img")!!
.attr("data-src")
setUrlWithoutDomain(element.attr("href"))
}
override fun getCollections(): List<Collection> = listOf(
Collection("ヒーローズ", "heros"),
Collection("ふらっとヒーローズ", "flat"),
Collection("わいるどヒーローズ", "wild"),
Collection("読切作品", "oneshot"),
)
}