mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
[Sora] fixed Crunchyroll sub
This commit is contained in:
parent
114dcb9623
commit
d267b0791f
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 56
|
||||
version = 57
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -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 ->
|
||||
|
|
Loading…
Reference in a new issue