mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
small fix
This commit is contained in:
parent
ed3c2f87c6
commit
d88510e712
1 changed files with 5 additions and 1 deletions
|
@ -863,7 +863,11 @@ object SoraExtractor : SoraStream() {
|
|||
"vidcloud", "upcloud"
|
||||
).apmap { server ->
|
||||
val sources = app.get(
|
||||
"$consumetFlixhqAPI/watch?episodeId=$episodeId&mediaId=$id&server=$server",
|
||||
if(server == "vidcloud") {
|
||||
"$consumetFlixhqAPI/watch?episodeId=$episodeId&mediaId=$id"
|
||||
} else {
|
||||
"$consumetFlixhqAPI/watch?episodeId=$episodeId&mediaId=$id&server=$server"
|
||||
},
|
||||
).parsedSafe<ConsumetSourcesResponse>()
|
||||
val name = fixTitle(server)
|
||||
sources?.sources?.map {
|
||||
|
|
Loading…
Reference in a new issue