Update Url MangaBat (#2008)

This commit is contained in:
GGaro 2024-03-21 17:42:38 +00:00 committed by Draff
parent 41cab37a37
commit d7f5c6c1d3
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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/"