From 0c399f549e4356dbf2f9e63bd7b1061eeca00a92 Mon Sep 17 00:00:00 2001 From: Lev Date: Tue, 24 Dec 2024 14:49:53 +0300 Subject: [PATCH] Update ReadChainsawManMangaOnline extension (#6665) * Update ReadChainsawManMangaOnline source * Updated domain * Update domain name in the class constructor and changed titles to match source naming * Update ReadChainsawManMangaOnline nsfw flag * Update src/en/readchainsawmanmangaonline/build.gradle --------- Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com> --- src/en/readchainsawmanmangaonline/build.gradle | 5 +++-- .../ReadChainsawManMangaOnline.kt | 17 ++++++++++++++--- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/en/readchainsawmanmangaonline/build.gradle b/src/en/readchainsawmanmangaonline/build.gradle index cd79ac4be..c2bc2524e 100644 --- a/src/en/readchainsawmanmangaonline/build.gradle +++ b/src/en/readchainsawmanmangaonline/build.gradle @@ -2,8 +2,9 @@ ext { extName = 'Read Chainsaw Man Manga Online' extClass = '.ReadChainsawManMangaOnline' themePkg = 'mangacatalog' - baseUrl = 'https://ww1.readchainsawman.com' - overrideVersionCode = 0 + baseUrl = 'https://ww4.readchainsawman.com' + overrideVersionCode = 1 + isNsfw = true } apply from: "$rootDir/common.gradle" diff --git a/src/en/readchainsawmanmangaonline/src/eu/kanade/tachiyomi/extension/en/readchainsawmanmangaonline/ReadChainsawManMangaOnline.kt b/src/en/readchainsawmanmangaonline/src/eu/kanade/tachiyomi/extension/en/readchainsawmanmangaonline/ReadChainsawManMangaOnline.kt index b491ff473..e1f065142 100644 --- a/src/en/readchainsawmanmangaonline/src/eu/kanade/tachiyomi/extension/en/readchainsawmanmangaonline/ReadChainsawManMangaOnline.kt +++ b/src/en/readchainsawmanmangaonline/src/eu/kanade/tachiyomi/extension/en/readchainsawmanmangaonline/ReadChainsawManMangaOnline.kt @@ -2,11 +2,22 @@ package eu.kanade.tachiyomi.extension.en.readchainsawmanmangaonline import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog -class ReadChainsawManMangaOnline : MangaCatalog("Read Chainsaw Man Manga Online", "https://ww1.readchainsawman.com", "en") { +class ReadChainsawManMangaOnline : MangaCatalog("Read Chainsaw Man Manga Online", "https://ww4.readchainsawman.com", "en") { override val sourceList = listOf( + // Chainsaw Man Pair("Chainsaw Man", "$baseUrl/manga/chainsaw-man/"), + Pair("Chainsaw Man Colored", "$baseUrl/manga/chainsaw-man-colored/"), + Pair("Chainsaw Man: Buddy Stories", "$baseUrl/manga/chainsaw-man-buddy-stories/"), + + // Other titles Pair("Fire Punch", "$baseUrl/manga/fire-punch/"), - Pair("Nayuta", "$baseUrl/manga/yogen-no-nayuta/"), - Pair("Colored", "$baseUrl/manga/chainsaw-man-colored/"), + Pair("Yogen no Nayuta", "$baseUrl/manga/yogen-no-nayuta/"), + Pair("Look Back", "$baseUrl/manga/look-back/"), + Pair("Just Listen to the Song", "$baseUrl/manga/futsuu-ni-kiite-kure/"), + Pair("Sayonara Eri (Goodbye, Eri)", "$baseUrl/manga/sayonara-eri-goodbye-eri/"), + + // Storybooks + Pair("Tatsuki Fujimoto Before Chainsaw Man: 17-21", "$baseUrl/manga/17-21-fujimoto-tatsuki-tanpenshuu/"), + Pair("Tatsuki Fujimoto Before Chainsaw Man: 22-26", "$baseUrl/manga/22-26-fujimoto-tatsuki-tanpenshuu/"), ).sortedBy { it.first }.distinctBy { it.second } }