From 03ed443ded02fa3b9ef45fae5d4066d9095599da Mon Sep 17 00:00:00 2001 From: hexated Date: Tue, 21 Feb 2023 23:11:51 +0700 Subject: [PATCH] oops --- SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt index 1809ec85..d29c0730 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt @@ -859,7 +859,7 @@ object SoraExtractor : SoraStream() { "$fixTitle", true ) == true && it.releaseDate?.equals("$year") == true && it.type == "Movie" } else { - it.title?.equals("$fixTitle", true) == true && it.type == "TV Series" && it.season == lastSeason + it.title?.equals("$fixTitle", true) == true && it.type == "TV Series" && it.seasons == lastSeason } }?.id ?: return @@ -2781,7 +2781,7 @@ data class CrunchyrollDetails( data class ConsumetResults( @JsonProperty("id") val id: String? = null, @JsonProperty("title") val title: String? = null, - @JsonProperty("season") val season: Int? = null, + @JsonProperty("seasons") val seasons: Int? = null, @JsonProperty("releaseDate") val releaseDate: String? = null, @JsonProperty("type") val type: String? = null, )