MangaBat: fix URL for real this time (#6137)

This commit is contained in:
scb261 2021-03-11 13:25:30 +02:00 committed by GitHub
parent c589750a11
commit 30ebfdedd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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),
) )