Update Url MangaBat (#2008)
This commit is contained in:
parent
41cab37a37
commit
d7f5c6c1d3
|
@ -2,8 +2,8 @@ ext {
|
||||||
extName = 'Mangabat'
|
extName = 'Mangabat'
|
||||||
extClass = '.Mangabat'
|
extClass = '.Mangabat'
|
||||||
themePkg = 'mangabox'
|
themePkg = 'mangabox'
|
||||||
baseUrl = 'https://m.mangabat.com'
|
baseUrl = 'https://h.mangabat.com'
|
||||||
overrideVersionCode = 4
|
overrideVersionCode = 5
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -6,7 +6,7 @@ import okhttp3.Request
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
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 popularMangaRequest(page: Int): Request = GET("$baseUrl/manga-list-all/$page?type=topview", headers)
|
||||||
override fun popularMangaSelector() = "div.list-story-item"
|
override fun popularMangaSelector() = "div.list-story-item"
|
||||||
override val latestUrlPath = "manga-list-all/"
|
override val latestUrlPath = "manga-list-all/"
|
||||||
|
|
Loading…
Reference in New Issue