MangaBat: fix URL for real this time (#6137)
This commit is contained in:
parent
c589750a11
commit
30ebfdedd7
|
@ -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/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 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/"
|
||||||
|
|
|
@ -14,7 +14,7 @@ class MangaBoxGenerator : ThemeSourceGenerator {
|
||||||
override val sources = listOf(
|
override val sources = listOf(
|
||||||
SingleLang("Mangakakalot", "https://mangakakalot.com", "en"),
|
SingleLang("Mangakakalot", "https://mangakakalot.com", "en"),
|
||||||
SingleLang("Manganelo", "https://manganelo.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("Mangakakalots (unoriginal)", "https://mangakakalots.com", "en", className = "Mangakakalots", pkgName = "mangakakalots"),
|
||||||
SingleLang("Mangairo", "https://h.mangairo.com/", "en", overrideVersionCode = 2),
|
SingleLang("Mangairo", "https://h.mangairo.com/", "en", overrideVersionCode = 2),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue