This commit is contained in:
jack 2023-12-09 18:23:48 +07:00
parent 1922d6dc26
commit 8cf21ba442
2 changed files with 4 additions and 3 deletions

View file

@ -12,7 +12,6 @@ import com.lagradost.cloudstream3.app
import com.lagradost.cloudstream3.base64Decode
import com.lagradost.cloudstream3.extractors.Pixeldrain
import com.lagradost.cloudstream3.extractors.Vidplay
import com.lagradost.cloudstream3.extractors.ZplayerV2
import com.lagradost.cloudstream3.utils.*
import java.math.BigInteger
import java.security.MessageDigest

View file

@ -2069,7 +2069,9 @@ object SoraExtractor : SoraStream() {
"$blackvidAPI/v3/tv/sources/$tmdbId/$season/$episode?key=$key"
}
val data = app.get(url, timeout = 120L, referer = ref).okhttpResponse.peekBody(1024 * 512).bytes().decrypt("2378f8e4e844f2dc839ab48f66e00acc2305a401")
val res = app.get(url, timeout = 120L, referer = ref).okhttpResponse.peekBody(1024 * 512)
delay(2000)
val data = res.bytes().decrypt("2378f8e4e844f2dc839ab48f66e00acc2305a401")
val json = tryParseJson<BlackvidResponses>(data)
json?.sources?.map { source ->
@ -2460,7 +2462,7 @@ object SoraExtractor : SoraStream() {
ExtractorLink(
"SFMovies",
"SFMovies",
fixUrl(video, getSfServer() ?: return),
fixUrl(video, getSfServer()),
"",
Qualities.P1080.value,
INFER_TYPE