diff --git a/multisrc/overrides/mangabox/mangakakalot/src/Mangakakalot.kt b/multisrc/overrides/mangabox/mangakakalot/src/Mangakakalot.kt index 7a0a06856..3928cbd52 100644 --- a/multisrc/overrides/mangabox/mangakakalot/src/Mangakakalot.kt +++ b/multisrc/overrides/mangabox/mangakakalot/src/Mangakakalot.kt @@ -6,7 +6,7 @@ import java.text.SimpleDateFormat import java.util.Locale class Mangakakalot : MangaBox("Mangakakalot", "https://mangakakalot.com", "en", SimpleDateFormat("MMM dd,yy", Locale.ENGLISH)) { - override fun headersBuilder(): Headers.Builder = super.headersBuilder().set("Referer", "https://manganelo.com") // for covers + override fun headersBuilder(): Headers.Builder = super.headersBuilder().set("Referer", "https://manganato.com") // for covers override val simpleQueryPath = "search/story/" override fun searchMangaSelector() = "${super.searchMangaSelector()}, div.list-truyen-item-wrap" } diff --git a/multisrc/overrides/mangabox/manganelo/res/mipmap-hdpi/ic_launcher.png b/multisrc/overrides/mangabox/manganelo/res/mipmap-hdpi/ic_launcher.png index d6df4aaf2..fae03683d 100644 Binary files a/multisrc/overrides/mangabox/manganelo/res/mipmap-hdpi/ic_launcher.png and b/multisrc/overrides/mangabox/manganelo/res/mipmap-hdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangabox/manganelo/res/mipmap-mdpi/ic_launcher.png b/multisrc/overrides/mangabox/manganelo/res/mipmap-mdpi/ic_launcher.png index c4bd03fe4..70d4c04f3 100644 Binary files a/multisrc/overrides/mangabox/manganelo/res/mipmap-mdpi/ic_launcher.png and b/multisrc/overrides/mangabox/manganelo/res/mipmap-mdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangabox/manganelo/res/mipmap-xhdpi/ic_launcher.png b/multisrc/overrides/mangabox/manganelo/res/mipmap-xhdpi/ic_launcher.png index 968a07a4c..3d8f30f61 100644 Binary files a/multisrc/overrides/mangabox/manganelo/res/mipmap-xhdpi/ic_launcher.png and b/multisrc/overrides/mangabox/manganelo/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangabox/manganelo/res/mipmap-xxhdpi/ic_launcher.png b/multisrc/overrides/mangabox/manganelo/res/mipmap-xxhdpi/ic_launcher.png index 694f61cc6..8a6a650e8 100644 Binary files a/multisrc/overrides/mangabox/manganelo/res/mipmap-xxhdpi/ic_launcher.png and b/multisrc/overrides/mangabox/manganelo/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangabox/manganelo/res/mipmap-xxxhdpi/ic_launcher.png b/multisrc/overrides/mangabox/manganelo/res/mipmap-xxxhdpi/ic_launcher.png index 8cbf26b6b..8a6a650e8 100644 Binary files a/multisrc/overrides/mangabox/manganelo/res/mipmap-xxxhdpi/ic_launcher.png and b/multisrc/overrides/mangabox/manganelo/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangabox/manganelo/res/web_hi_res_512.png b/multisrc/overrides/mangabox/manganelo/res/web_hi_res_512.png index 64f9a43b9..8a6a650e8 100644 Binary files a/multisrc/overrides/mangabox/manganelo/res/web_hi_res_512.png and b/multisrc/overrides/mangabox/manganelo/res/web_hi_res_512.png differ diff --git a/multisrc/overrides/mangabox/manganelo/src/Manganelo.kt b/multisrc/overrides/mangabox/manganelo/src/Manganato.kt similarity index 76% rename from multisrc/overrides/mangabox/manganelo/src/Manganelo.kt rename to multisrc/overrides/mangabox/manganelo/src/Manganato.kt index f3515701d..92c1e937b 100644 --- a/multisrc/overrides/mangabox/manganelo/src/Manganelo.kt +++ b/multisrc/overrides/mangabox/manganelo/src/Manganato.kt @@ -3,8 +3,12 @@ package eu.kanade.tachiyomi.extension.en.manganelo import eu.kanade.tachiyomi.multisrc.mangabox.MangaBox import eu.kanade.tachiyomi.network.GET import okhttp3.Request +import java.text.SimpleDateFormat +import java.util.Locale + +class Manganato : MangaBox("Manganato", "https://manganato.com", "en", SimpleDateFormat("MMM dd,yy", Locale.ENGLISH)) { + override val id: Long = 1024627298672457456 -class Manganelo : MangaBox("Manganelo", "https://manganelo.com", "en") { // Nelo's date format is part of the base class override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/genre-all/$page?type=topview", headers) override fun popularMangaSelector() = "div.content-genres-item" diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangabox/MangaBox.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangabox/MangaBox.kt index 9d6644f5a..dbfda6012 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangabox/MangaBox.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangabox/MangaBox.kt @@ -225,7 +225,7 @@ abstract class MangaBox( }?.timeInMillis } else { try { - if (host.contains("manganelo", ignoreCase = true)) { + if (host.contains("manganato", ignoreCase = true)) { // Nelo's date format SimpleDateFormat("MMM dd,yy", Locale.ENGLISH).parse(date) } else { diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangabox/MangaBoxGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangabox/MangaBoxGenerator.kt index 30f0a7b9e..68a3420b4 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangabox/MangaBoxGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangabox/MangaBoxGenerator.kt @@ -12,8 +12,8 @@ class MangaBoxGenerator : ThemeSourceGenerator { override val baseVersionCode: Int = 2 override val sources = listOf( - SingleLang("Mangakakalot", "https://mangakakalot.com", "en", overrideVersionCode = 1), - SingleLang("Manganelo", "https://manganelo.com", "en"), + SingleLang("Mangakakalot", "https://mangakakalot.com", "en", overrideVersionCode = 2), + SingleLang("Manganato", "https://manganato.com", "en", overrideVersionCode = 1, pkgName = "manganelo"), SingleLang("Mangabat", "https://m.mangabat.com", "en", overrideVersionCode = 4), SingleLang("Mangakakalots (unoriginal)", "https://mangakakalots.com", "en", className = "Mangakakalots", pkgName = "mangakakalots"), SingleLang("Mangairo", "https://h.mangairo.com", "en", overrideVersionCode = 3),