ReaperScans (en): Fixed status (#15022)

This commit is contained in:
Davide 2023-01-19 13:16:14 +01:00 committed by GitHub
parent 57ad7c1174
commit adb3d5833f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Reaper Scans'
pkgNameSuffix = 'en.reaperscans'
extClass = '.ReaperScans'
extVersionCode = 41
extVersionCode = 42
}
apply from: "$rootDir/common.gradle"

View File

@ -169,7 +169,7 @@ class ReaperScans : ParsedHttpSource() {
thumbnail_url = document.select("div > img").first().attr("abs:src")
title = document.select("h1").first().text()
status = when (document.select("dt:contains(Release Status)").next().text()) {
status = when (document.select("dt:contains(Release Status)").next().first().text()) {
"On hold" -> SManga.ON_HIATUS
"Complete" -> SManga.COMPLETED
"Ongoing" -> SManga.ONGOING