From 30ebfdedd7005851e07a6d1fb9db5faafc73de57 Mon Sep 17 00:00:00 2001 From: scb261 <65343233+scb261@users.noreply.github.com> Date: Thu, 11 Mar 2021 13:25:30 +0200 Subject: [PATCH] MangaBat: fix URL for real this time (#6137) --- multisrc/overrides/mangabox/mangabat/src/Mangabat.kt | 2 +- .../eu/kanade/tachiyomi/multisrc/mangabox/MangaBoxGenerator.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multisrc/overrides/mangabox/mangabat/src/Mangabat.kt b/multisrc/overrides/mangabox/mangabat/src/Mangabat.kt index 5af98abef..7c397fb91 100644 --- a/multisrc/overrides/mangabox/mangabat/src/Mangabat.kt +++ b/multisrc/overrides/mangabox/mangabat/src/Mangabat.kt @@ -6,7 +6,7 @@ import okhttp3.Request import java.text.SimpleDateFormat import java.util.Locale -class Mangabat : MangaBox("Mangabat", "https://m.mangabat.com/m", "en", SimpleDateFormat("MMM dd,yy", Locale.ENGLISH)) { +class Mangabat : MangaBox("Mangabat", "https://m.mangabat.com", "en", SimpleDateFormat("MMM dd,yy", Locale.ENGLISH)) { override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/manga-list-all/$page?type=topview", headers) override fun popularMangaSelector() = "div.list-story-item" override val latestUrlPath = "manga-list-all/" 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 02192e483..52d35fada 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 @@ -14,7 +14,7 @@ class MangaBoxGenerator : ThemeSourceGenerator { override val sources = listOf( SingleLang("Mangakakalot", "https://mangakakalot.com", "en"), SingleLang("Manganelo", "https://manganelo.com", "en"), - SingleLang("Mangabat", "https://m.mangabat.com/m", "en", overrideVersionCode = 3), + 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 = 2), )