small fix

This commit is contained in:
hexated 2023-09-26 13:36:28 +07:00
parent f4f5ee5f5b
commit f562427dde
2 changed files with 2 additions and 2 deletions

View file

@ -110,7 +110,7 @@ object SoraExtractor : SoraStream() {
"$vidSrcAPI/embed/$id/${season}-${episode}" "$vidSrcAPI/embed/$id/${season}-${episode}"
} }
loadCustomExtractor(null, url, null, subtitleCallback, callback, Qualities.P1080.value) loadCustomExtractor(null, url, null, subtitleCallback, callback)
} }
suspend fun invokeDbgo( suspend fun invokeDbgo(

View file

@ -1080,8 +1080,8 @@ suspend fun loadCustomExtractor(
link.url, link.url,
link.referer, link.referer,
when { when {
link.type == ExtractorLinkType.M3U8 -> link.quality
link.name == "VidSrc" -> Qualities.P1080.value link.name == "VidSrc" -> Qualities.P1080.value
link.type == ExtractorLinkType.M3U8 -> link.quality
else -> quality ?: link.quality else -> quality ?: link.quality
}, },
link.type, link.type,