MangaThemesia: Initial add natsu (#19477)

Signed-off-by: Ahmad Thoriq Najahi <najahi@zephyrus.id>
This commit is contained in:
Ahmad Thoriq Najahi 2023-12-30 03:53:23 +07:00 committed by GitHub
parent a7f403bdc5
commit 75f632b0d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 21 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -0,0 +1,20 @@
package eu.kanade.tachiyomi.extension.id.natsu
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import org.jsoup.nodes.Document
import java.text.SimpleDateFormat
import java.util.Locale
class Natsu : MangaThemesia("Natsu", "https://natsu.id", "id", dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("id"))) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(4)
.build()
// manga details
override fun mangaDetailsParse(document: Document) = super.mangaDetailsParse(document).apply {
title = document.selectFirst(seriesThumbnailSelector)!!.attr("title")
}
}

View File

@ -107,6 +107,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
SingleLang("Mihentai", "https://mihentai.com", "all", isNsfw = true, overrideVersionCode = 2), SingleLang("Mihentai", "https://mihentai.com", "all", isNsfw = true, overrideVersionCode = 2),
SingleLang("Mirai Scans", "https://miraiscans.com", "id"), SingleLang("Mirai Scans", "https://miraiscans.com", "id"),
SingleLang("MirrorDesu", "https://mirrordesu.me", "id", isNsfw = true), SingleLang("MirrorDesu", "https://mirrordesu.me", "id", isNsfw = true),
SingleLang("Natsu", "https://natsu.id", "id"),
SingleLang("Nekomik", "https://nekomik.me", "id", overrideVersionCode = 2), SingleLang("Nekomik", "https://nekomik.me", "id", overrideVersionCode = 2),
SingleLang("Ngomik", "https://ngomik.net", "id", overrideVersionCode = 2), SingleLang("Ngomik", "https://ngomik.net", "id", overrideVersionCode = 2),
SingleLang("NIGHT SCANS", "https://nightscans.net", "en", isNsfw = true, className = "NightScans", overrideVersionCode = 3), SingleLang("NIGHT SCANS", "https://nightscans.net", "en", isNsfw = true, className = "NightScans", overrideVersionCode = 3),