[Sora] fixed Crunchyroll sub

This commit is contained in:
hexated 2022-12-14 20:14:11 +07:00
parent 114dcb9623
commit d267b0791f
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 56
version = 57
cloudstream {

View file

@ -1583,7 +1583,7 @@ object SoraExtractor : SoraStream() {
episodeId.apmap { (id, type) ->
delay(1000)
val json = app.get("$consumetCrunchyrollAPI/watch?episodeId=$id")
val json = app.get("$consumetCrunchyrollAPI/watch?episodeId=$id&format=srt")
.parsedSafe<ConsumetSourcesResponse>()
json?.sources?.map source@{ source ->