[YuriGarden] Revert scanlator for getDetails

dragonx943 10 months ago
parent 1d2ee20d17
commit 73c0a4f606
No known key found for this signature in database
GPG Key ID: 48DD99A2C5421C1C

6
.gitignore vendored

@ -84,3 +84,9 @@ src/test/resources/cookies.txt
local.properties
.kotlin/
!/.idea/kotlin-statistics.xml
.idea/**/discord.xml
.idea/**/migrations.xml
.idea/**/runConfigurations.xml
.idea/**/AndroidProjectSystem.xml
.idea/caches/deviceStreaming.xml

@ -147,6 +147,8 @@ internal abstract class YuriGardenParser(
jo.getString("name")
}.orEmpty()
val team = json.optJSONArray("teams")?.getJSONObject(0)?.getString("name")
val chaptersDeferred = async {
webClient.httpGet("https://$apiSuffix/chapters/comic/${id}").parseJsonArray()
}
@ -161,7 +163,7 @@ internal abstract class YuriGardenParser(
number = jo.getFloatOrDefault("order", 0f),
volume = 0,
url = "$chapId",
scanlator = null,
scanlator = team,
uploadDate = jo.getLong("lastUpdated"),
branch = null,
source = source,

Loading…
Cancel
Save