From 1cd7425223770f8975dd2b86b6522347f93123ac Mon Sep 17 00:00:00 2001 From: hexated Date: Mon, 1 May 2023 04:08:40 +0700 Subject: [PATCH] fix --- SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt index 97e78b8d..526aea2a 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt @@ -936,9 +936,9 @@ object SoraExtractor : SoraStream() { ) app.get(serverUrl) .parsedSafe()?.links?.filter { it.resolutionStr == "RAW" && it.hls == true }?.forEach { source -> - val tlName = if (translation == "sub") "Raw" else "English Dub" + val translation = if (tl == "sub") "Raw" else "English Dub" M3u8Helper.generateM3u8( - "Vrv [$tlName]", + "Vrv [$translation]", source.link ?: return@apmap, "https://static.crunchyroll.com/", ).forEach(callback)