Reverse chapter list order of baimangu (#11733)

This commit is contained in:
Broccoli 2022-05-06 06:37:40 +08:00 committed by GitHub
parent c32f049eb1
commit a4da018f9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Baimangu (Darpou)'
pkgNameSuffix = 'zh.baimangu'
extClass = '.Baimangu'
extVersionCode = 1
extVersionCode = 2
}
dependencies {

View File

@ -16,6 +16,7 @@ import okhttp3.Headers
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.Response
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
import uy.kohesive.injekt.Injekt
@ -184,6 +185,10 @@ class Baimangu : ConfigurableSource, ParsedHttpSource() {
}
}
// Reverse the order of the chapter list
override fun chapterListParse(response: Response): List<SChapter> =
super.chapterListParse(response).reversed()
override fun imageUrlParse(document: Document) = ""
override fun pageListParse(document: Document): List<Page> {