From d7f5c6c1d3b7e3c5e6a3b89267c95a00de97f1d1 Mon Sep 17 00:00:00 2001 From: GGaro <132919505+GGaro@users.noreply.github.com> Date: Thu, 21 Mar 2024 17:42:38 +0000 Subject: [PATCH] Update Url MangaBat (#2008) --- src/en/mangabat/build.gradle | 4 ++-- .../src/eu/kanade/tachiyomi/extension/en/mangabat/Mangabat.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/en/mangabat/build.gradle b/src/en/mangabat/build.gradle index b5fc2f6f7..e07b3c7f2 100644 --- a/src/en/mangabat/build.gradle +++ b/src/en/mangabat/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'Mangabat' extClass = '.Mangabat' themePkg = 'mangabox' - baseUrl = 'https://m.mangabat.com' - overrideVersionCode = 4 + baseUrl = 'https://h.mangabat.com' + overrideVersionCode = 5 } apply from: "$rootDir/common.gradle" diff --git a/src/en/mangabat/src/eu/kanade/tachiyomi/extension/en/mangabat/Mangabat.kt b/src/en/mangabat/src/eu/kanade/tachiyomi/extension/en/mangabat/Mangabat.kt index 7c397fb91..7a95b4b34 100644 --- a/src/en/mangabat/src/eu/kanade/tachiyomi/extension/en/mangabat/Mangabat.kt +++ b/src/en/mangabat/src/eu/kanade/tachiyomi/extension/en/mangabat/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", "en", SimpleDateFormat("MMM dd,yy", Locale.ENGLISH)) { +class Mangabat : MangaBox("Mangabat", "https://h.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/"