mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
update
This commit is contained in:
parent
8f84b3a05d
commit
3db0da8dd1
1 changed files with 2 additions and 2 deletions
|
@ -2149,8 +2149,8 @@ object SoraExtractor : SoraStream() {
|
||||||
"$blackvidAPI/v3/tv/sources/$tmdbId/$season/$episode?key=$key"
|
"$blackvidAPI/v3/tv/sources/$tmdbId/$season/$episode?key=$key"
|
||||||
}
|
}
|
||||||
|
|
||||||
val res = request(url).body
|
val res = request(url)
|
||||||
val bytes = res.bytes().also { res.closeQuietly() }
|
val bytes = res.peekBody(1024 * 512).bytes().also { res.closeQuietly() }
|
||||||
val data = bytes.decrypt("2378f8e4e844f2dc839ab48f66e00acc2305a401")
|
val data = bytes.decrypt("2378f8e4e844f2dc839ab48f66e00acc2305a401")
|
||||||
val json = tryParseJson<BlackvidResponses>(data)
|
val json = tryParseJson<BlackvidResponses>(data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue