diff --git a/multisrc/overrides/mangathemesia/natsu/res/mipmap-hdpi/ic_launcher.png b/multisrc/overrides/mangathemesia/natsu/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..e0fd2add2 Binary files /dev/null and b/multisrc/overrides/mangathemesia/natsu/res/mipmap-hdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangathemesia/natsu/res/mipmap-mdpi/ic_launcher.png b/multisrc/overrides/mangathemesia/natsu/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..ad41efae5 Binary files /dev/null and b/multisrc/overrides/mangathemesia/natsu/res/mipmap-mdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangathemesia/natsu/res/mipmap-xhdpi/ic_launcher.png b/multisrc/overrides/mangathemesia/natsu/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..1d45f815f Binary files /dev/null and b/multisrc/overrides/mangathemesia/natsu/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangathemesia/natsu/res/mipmap-xxhdpi/ic_launcher.png b/multisrc/overrides/mangathemesia/natsu/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..da8aa8339 Binary files /dev/null and b/multisrc/overrides/mangathemesia/natsu/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangathemesia/natsu/res/mipmap-xxxhdpi/ic_launcher.png b/multisrc/overrides/mangathemesia/natsu/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..6834ed175 Binary files /dev/null and b/multisrc/overrides/mangathemesia/natsu/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangathemesia/natsu/res/web_hi_res_512.png b/multisrc/overrides/mangathemesia/natsu/res/web_hi_res_512.png new file mode 100644 index 000000000..35a7a7d0f Binary files /dev/null and b/multisrc/overrides/mangathemesia/natsu/res/web_hi_res_512.png differ diff --git a/multisrc/overrides/mangathemesia/natsu/src/Natsu.kt b/multisrc/overrides/mangathemesia/natsu/src/Natsu.kt new file mode 100644 index 000000000..f473fbb1f --- /dev/null +++ b/multisrc/overrides/mangathemesia/natsu/src/Natsu.kt @@ -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") + } +} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt index 78df871b4..272233f44 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt @@ -107,6 +107,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator { SingleLang("Mihentai", "https://mihentai.com", "all", isNsfw = true, overrideVersionCode = 2), SingleLang("Mirai Scans", "https://miraiscans.com", "id"), SingleLang("MirrorDesu", "https://mirrordesu.me", "id", isNsfw = true), + SingleLang("Natsu", "https://natsu.id", "id"), SingleLang("Nekomik", "https://nekomik.me", "id", overrideVersionCode = 2), SingleLang("Ngomik", "https://ngomik.net", "id", overrideVersionCode = 2), SingleLang("NIGHT SCANS", "https://nightscans.net", "en", isNsfw = true, className = "NightScans", overrideVersionCode = 3),