This commit is contained in:
lisa 2023-12-20 21:54:14 +07:00
parent 8f84b3a05d
commit 3db0da8dd1
1 changed files with 2 additions and 2 deletions

View File

@ -2149,8 +2149,8 @@ object SoraExtractor : SoraStream() {
"$blackvidAPI/v3/tv/sources/$tmdbId/$season/$episode?key=$key"
}
val res = request(url).body
val bytes = res.bytes().also { res.closeQuietly() }
val res = request(url)
val bytes = res.peekBody(1024 * 512).bytes().also { res.closeQuietly() }
val data = bytes.decrypt("2378f8e4e844f2dc839ab48f66e00acc2305a401")
val json = tryParseJson<BlackvidResponses>(data)