mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
[Sora] fixed missing anime in Crunchyroll
This commit is contained in:
parent
7192574077
commit
23662597e5
1 changed files with 1 additions and 1 deletions
|
@ -595,7 +595,7 @@ fun CrunchyrollDetails.findCrunchyrollId(
|
|||
|
||||
fun List<HashMap<String, String>>?.matchingEpisode(episode: Int?): String? {
|
||||
return this?.find {
|
||||
it["episode_number"] == "$episode"
|
||||
it["episode_number"] == "$episode" || indexOf(it).plus(1) == episode
|
||||
}?.get("id")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue