From 36a6bcdd0cbfabbbfc398b101f80ef7e6a7a0067 Mon Sep 17 00:00:00 2001 From: nzoba <55888232+nzoba@users.noreply.github.com> Date: Sun, 29 Jan 2023 19:39:29 +0100 Subject: [PATCH] Japscan: Fix date (#15171) --- src/fr/japscan/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/fr/japscan/Japscan.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fr/japscan/build.gradle b/src/fr/japscan/build.gradle index f8935eae7..ecca19ba2 100644 --- a/src/fr/japscan/build.gradle +++ b/src/fr/japscan/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'Japscan' pkgNameSuffix = 'fr.japscan' extClass = '.Japscan' - extVersionCode = 37 + extVersionCode = 38 } apply from: "$rootDir/common.gradle" diff --git a/src/fr/japscan/src/eu/kanade/tachiyomi/extension/fr/japscan/Japscan.kt b/src/fr/japscan/src/eu/kanade/tachiyomi/extension/fr/japscan/Japscan.kt index bd9ed93bf..d61993904 100644 --- a/src/fr/japscan/src/eu/kanade/tachiyomi/extension/fr/japscan/Japscan.kt +++ b/src/fr/japscan/src/eu/kanade/tachiyomi/extension/fr/japscan/Japscan.kt @@ -246,7 +246,7 @@ class Japscan : ConfigurableSource, ParsedHttpSource() { chapter.setUrlWithoutDomain(urlElement.attr("href")) chapter.name = urlElement.ownText() // Using ownText() doesn't include childs' text, like "VUS" or "RAW" badges, in the chapter name. - chapter.date_upload = element.select("> span").text().trim().let { parseChapterDate(it) } + chapter.date_upload = element.selectFirst("span").text().trim().let { parseChapterDate(it) } return chapter }