This commit is contained in:
hexated 2023-01-30 12:31:38 +07:00
parent a91cfbcf66
commit 61d6ae246e
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 77
version = 78
cloudstream {

View File

@ -2103,6 +2103,7 @@ object SoraExtractor : SoraStream() {
val link =
"https://api.$worker.workers.dev/download.aspx?file=$encryptedId&expiry=$encryptedExpiry&mac=$hmacSign"
if(!app.get(link).isSuccessful) return@apmap null
val size = file.size?.toDouble() ?: return@apmap null
val sizeFile = "%.2f GB".format(bytesToGigaBytes(size))
val tags = Regex("\\d{3,4}[pP]\\.?(.*?)\\.(mkv|mp4)").find(