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.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -0,0 +1,40 @@
package eu.kanade.tachiyomi.extension.ja.tonarinoyoungjump
import eu.kanade.tachiyomi.multisrc.gigaviewer.GigaViewer
import eu.kanade.tachiyomi.source.model.SManga
import okhttp3.OkHttpClient
import org.jsoup.nodes.Element
class TonariNoYoungJump : GigaViewer(
"Tonari no Young Jump",
"https://tonarinoyj.jp",
"ja",
"https://cdn-img.tonarinoyj.jp/public/page",
) {
override val supportsLatest: Boolean = false
override val client: OkHttpClient = super.client.newBuilder()
.addInterceptor(::imageIntercept)
.build()
override val publisher: String = "集英社"
override fun popularMangaSelector(): String = "ul.series-table-list li.subpage-table-list-item > a"
override fun popularMangaFromElement(element: Element): SManga = SManga.create().apply {
title = element.selectFirst("h4.title")!!.text()
thumbnail_url = element.selectFirst("div.subpage-image-wrapper img")!!.attr("data-src")
.replace("{width}", "528")
.replace("{height}", "528")
setUrlWithoutDomain(element.attr("href"))
}
override val chapterListMode = CHAPTER_LIST_LOCKED
override fun getCollections(): List<Collection> = listOf(
Collection("連載中", ""),
Collection("読切", "oneshot"),
Collection("出張作品", "trial"),
)
}