This commit is contained in:
hexated 2023-02-21 23:11:51 +07:00
parent 7a5a2375c7
commit 03ed443ded

View file

@ -859,7 +859,7 @@ object SoraExtractor : SoraStream() {
"$fixTitle", true "$fixTitle", true
) == true && it.releaseDate?.equals("$year") == true && it.type == "Movie" ) == true && it.releaseDate?.equals("$year") == true && it.type == "Movie"
} else { } 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 }?.id ?: return
@ -2781,7 +2781,7 @@ data class CrunchyrollDetails(
data class ConsumetResults( data class ConsumetResults(
@JsonProperty("id") val id: String? = null, @JsonProperty("id") val id: String? = null,
@JsonProperty("title") val title: 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("releaseDate") val releaseDate: String? = null,
@JsonProperty("type") val type: String? = null, @JsonProperty("type") val type: String? = null,
) )