Update MangaBat (#2405)
This commit is contained in:
parent
92d64e95a5
commit
1285139a67
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: MangaBox (Mangakakalot and others)'
|
appName = 'Tachiyomi: MangaBox (Mangakakalot and others)'
|
||||||
pkgNameSuffix = 'all.mangabox'
|
pkgNameSuffix = 'all.mangabox'
|
||||||
extClass = '.MangaBoxFactory'
|
extClass = '.MangaBoxFactory'
|
||||||
extVersionCode = 14
|
extVersionCode = 15
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@ class MangaBoxFactory : SourceFactory {
|
||||||
Mangafree(),
|
Mangafree(),
|
||||||
Mangabat(),
|
Mangabat(),
|
||||||
KonoBasho(),
|
KonoBasho(),
|
||||||
MangaOnl(),
|
MangaOnl()
|
||||||
ChapterManga()
|
//ChapterManga()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,15 +63,11 @@ class Mangafree : MangaBox("Mangafree", "http://mangafree.online", "en") {
|
||||||
override fun getFilterList() = FilterList()
|
override fun getFilterList() = FilterList()
|
||||||
}
|
}
|
||||||
|
|
||||||
class Mangabat : MangaBox("Mangabat", "https://mangabat.com", "en") {
|
class Mangabat : MangaBox("Mangabat", "https://mangabat.com", "en", SimpleDateFormat("MMM dd,yy", Locale.ENGLISH)) {
|
||||||
override fun popularMangaSelector() = "div.item"
|
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/manga-list-all/$page?type=topview", headers)
|
||||||
override fun latestUpdatesSelector() = "div.update_item"
|
override fun popularMangaSelector() = "div.list-story-item"
|
||||||
override fun searchMangaSelector() = "div.update_item"
|
override val latestUrlPath = "manga-list-all/"
|
||||||
override val simpleQueryPath = "search_manga/"
|
override fun searchMangaSelector() = "div.list-story-item"
|
||||||
override val mangaDetailsMainSelector = "div.truyen_info"
|
|
||||||
override val thumbnailSelector = "img.info_image_manga"
|
|
||||||
override val descriptionSelector = "div#contentm"
|
|
||||||
override val pageListSelector = "div.vung_doc img, ${super.pageListSelector}" //some chapters link to Nelo
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class KonoBasho : MangaBox("Kono-Basho", "https://kono-basho.com", "en", SimpleDateFormat("MMM dd,yy", Locale.ENGLISH)) {
|
class KonoBasho : MangaBox("Kono-Basho", "https://kono-basho.com", "en", SimpleDateFormat("MMM dd,yy", Locale.ENGLISH)) {
|
||||||
|
|
Loading…
Reference in New Issue