mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fix
This commit is contained in:
parent
03e8ade0e0
commit
7a5a2375c7
5 changed files with 13 additions and 7 deletions
|
|
@ -847,6 +847,7 @@ object SoraExtractor : SoraStream() {
|
|||
year: Int? = null,
|
||||
season: Int? = null,
|
||||
episode: Int? = null,
|
||||
lastSeason: Int? = null,
|
||||
subtitleCallback: (SubtitleFile) -> Unit,
|
||||
callback: (ExtractorLink) -> Unit
|
||||
) {
|
||||
|
|
@ -858,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.title?.equals("$fixTitle", true) == true && it.type == "TV Series" && it.season == lastSeason
|
||||
}
|
||||
}?.id ?: return
|
||||
|
||||
|
|
@ -2780,6 +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("releaseDate") val releaseDate: String? = null,
|
||||
@JsonProperty("type") val type: String? = null,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -471,6 +471,7 @@ open class SoraStream : TmdbProvider() {
|
|||
res.year,
|
||||
res.season,
|
||||
res.episode,
|
||||
res.lastSeason,
|
||||
subtitleCallback,
|
||||
callback
|
||||
)
|
||||
|
|
|
|||
|
|
@ -172,6 +172,7 @@ class SoraStreamLite : SoraStream() {
|
|||
res.year,
|
||||
res.season,
|
||||
res.episode,
|
||||
res.lastSeason,
|
||||
subtitleCallback,
|
||||
callback
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue