This commit is contained in:
hexated 2023-05-01 04:08:40 +07:00
parent 9d0175ff0f
commit 1cd7425223
1 changed files with 2 additions and 2 deletions

View File

@ -936,9 +936,9 @@ object SoraExtractor : SoraStream() {
)
app.get(serverUrl)
.parsedSafe<AllanimeLinks>()?.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)