Manga1000: Fix page list parse (#1031)

This commit is contained in:
AlphaBoom 2024-02-06 08:12:38 +08:00 committed by Draff
parent b15cd836c5
commit 0bc4035bfe
2 changed files with 3 additions and 3 deletions

View File

@ -59,12 +59,12 @@ class Manga1000 : FMReader("Manga1000", "https://manga1000.top", "ja") {
}
override fun pageListParse(document: Document): List<Page> {
return document.select("script:containsData(imgsListchap)")
return document.select("script:containsData(imgsChapter)")
.html()
.substringAfter("(")
.substringBefore(",")
.let { cid ->
client.newCall(GET("$baseUrl/app/manga/controllers/cont.imgsList.php?cid=$cid", headers)).execute().asJsoup()
client.newCall(GET("$baseUrl/app/manga/controllers/cont.Showimage.php?cid=$cid", headers)).execute().asJsoup()
}
.select(".lazyload")
.mapIndexed { i, e ->

View File

@ -14,7 +14,7 @@ class FMReaderGenerator : ThemeSourceGenerator {
override val sources = listOf(
SingleLang("KissLove", "https://klz9.com", "ja", isNsfw = true, overrideVersionCode = 5),
SingleLang("Manga-TR", "https://manga-tr.com", "tr", className = "MangaTR", overrideVersionCode = 3),
SingleLang("Manga1000", "https://manga1000.top", "ja"),
SingleLang("Manga1000", "https://manga1000.top", "ja", overrideVersionCode = 1),
SingleLang("Nicomanga", "https://nicomanga.com", "ja", isNsfw = true),
SingleLang("WeLoveManga", "https://weloma.art", "ja", pkgName = "rawlh", isNsfw = true, overrideVersionCode = 5),
SingleLang("WeLoveMangaOne", "https://welovemanga.one", "ja", isNsfw = true, overrideVersionCode = 1),