fix rainOfSnow revese chapter (#5832)
This commit is contained in:
parent
4dd591ffdd
commit
9da88ec093
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'Rain Of Snow'
|
extName = 'Rain Of Snow'
|
||||||
pkgNameSuffix = 'en.rainofsnow'
|
pkgNameSuffix = 'en.rainofsnow'
|
||||||
extClass = '.RainOfSnow'
|
extClass = '.RainOfSnow'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
containsNsfw = false
|
containsNsfw = false
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ import eu.kanade.tachiyomi.source.online.ParsedHttpSource
|
||||||
import okhttp3.HttpUrl
|
import okhttp3.HttpUrl
|
||||||
import okhttp3.OkHttpClient
|
import okhttp3.OkHttpClient
|
||||||
import okhttp3.Request
|
import okhttp3.Request
|
||||||
|
import okhttp3.Response
|
||||||
import org.jsoup.nodes.Document
|
import org.jsoup.nodes.Document
|
||||||
import org.jsoup.nodes.Element
|
import org.jsoup.nodes.Element
|
||||||
import java.util.concurrent.TimeUnit
|
import java.util.concurrent.TimeUnit
|
||||||
|
@ -83,6 +84,10 @@ open class RainOfSnow() : ParsedHttpSource() {
|
||||||
return super.chapterListRequest(manga)
|
return super.chapterListRequest(manga)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun chapterListParse(response: Response): List<SChapter> {
|
||||||
|
return super.chapterListParse(response).reversed()
|
||||||
|
}
|
||||||
|
|
||||||
override fun chapterListSelector() = ".chapter1 li"
|
override fun chapterListSelector() = ".chapter1 li"
|
||||||
|
|
||||||
override fun chapterFromElement(element: Element): SChapter {
|
override fun chapterFromElement(element: Element): SChapter {
|
||||||
|
|
Loading…
Reference in New Issue