From d88510e7123ea7a7bd8ff1a9b5fd15ff71d11074 Mon Sep 17 00:00:00 2001 From: hexated Date: Wed, 22 Feb 2023 23:58:26 +0700 Subject: [PATCH] small fix --- SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt index 075c5538..c481c8c2 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt @@ -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() val name = fixTitle(server) sources?.sources?.map {