fix rainOfSnow revese chapter (#5832)

This commit is contained in:
Riztard Lanthorn 2021-02-13 20:48:32 +07:00 committed by GitHub
parent 4dd591ffdd
commit 9da88ec093
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 = 'Rain Of Snow'
pkgNameSuffix = 'en.rainofsnow'
extClass = '.RainOfSnow'
extVersionCode = 2
extVersionCode = 3
libVersion = '1.2'
containsNsfw = false
}

View File

@ -9,6 +9,7 @@ import eu.kanade.tachiyomi.source.online.ParsedHttpSource
import okhttp3.HttpUrl
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.Response
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
import java.util.concurrent.TimeUnit
@ -83,6 +84,10 @@ open class RainOfSnow() : ParsedHttpSource() {
return super.chapterListRequest(manga)
}
override fun chapterListParse(response: Response): List<SChapter> {
return super.chapterListParse(response).reversed()
}
override fun chapterListSelector() = ".chapter1 li"
override fun chapterFromElement(element: Element): SChapter {