fixed missing css selector Rain of snow (#5783)

* fixed missing css selector

* Update build.gradle

* Update RainOfSnow.kt
This commit is contained in:
Johannes Joens 2021-02-12 05:08:02 +13:00 committed by GitHub
parent c5b873191f
commit 4b37680bb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Rain Of Snow'
pkgNameSuffix = 'en.rainofsnow'
extClass = '.RainOfSnow'
extVersionCode = 1
extVersionCode = 2
libVersion = '1.2'
containsNsfw = false
}

View File

@ -66,7 +66,7 @@ open class RainOfSnow() : ParsedHttpSource() {
override fun mangaDetailsParse(document: Document): SManga {
val manga = SManga.create()
manga.title = document.select("h3").text()
manga.title = document.select(".text-center h3").text()
manga.author = document.select("li:contains(author) .n2").text()
manga.artist = document.select("li:contains(author) .n2").text()
manga.status = 0
@ -100,7 +100,7 @@ open class RainOfSnow() : ParsedHttpSource() {
}
override fun pageListParse(document: Document): List<Page> = mutableListOf<Page>().apply {
document.select(".zoomdesc-cont img").forEachIndexed { index, element ->
document.select("[style=display: block;] img").forEachIndexed { index, element ->
add(Page(index, "", element.attr("abs:src")))
}
}