From 4b37680bb0a46eddc1f540189fb1217b416e61ae Mon Sep 17 00:00:00 2001 From: Johannes Joens <34899572+jopejoe1@users.noreply.github.com> Date: Fri, 12 Feb 2021 05:08:02 +1300 Subject: [PATCH] fixed missing css selector Rain of snow (#5783) * fixed missing css selector * Update build.gradle * Update RainOfSnow.kt --- src/en/rainofsnow/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/en/rainofsnow/RainOfSnow.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/en/rainofsnow/build.gradle b/src/en/rainofsnow/build.gradle index 739379b34..b4d9c2a11 100644 --- a/src/en/rainofsnow/build.gradle +++ b/src/en/rainofsnow/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Rain Of Snow' pkgNameSuffix = 'en.rainofsnow' extClass = '.RainOfSnow' - extVersionCode = 1 + extVersionCode = 2 libVersion = '1.2' containsNsfw = false } diff --git a/src/en/rainofsnow/src/eu/kanade/tachiyomi/extension/en/rainofsnow/RainOfSnow.kt b/src/en/rainofsnow/src/eu/kanade/tachiyomi/extension/en/rainofsnow/RainOfSnow.kt index 93ada2c10..5627fbc70 100644 --- a/src/en/rainofsnow/src/eu/kanade/tachiyomi/extension/en/rainofsnow/RainOfSnow.kt +++ b/src/en/rainofsnow/src/eu/kanade/tachiyomi/extension/en/rainofsnow/RainOfSnow.kt @@ -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"))) } }