diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt index 3c2d9ddf..9f0547ee 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt @@ -110,7 +110,7 @@ object SoraExtractor : SoraStream() { "$vidSrcAPI/embed/$id/${season}-${episode}" } - loadCustomExtractor(null, url, null, subtitleCallback, callback, Qualities.P1080.value) + loadCustomExtractor(null, url, null, subtitleCallback, callback) } suspend fun invokeDbgo( diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraUtils.kt b/SoraStream/src/main/kotlin/com/hexated/SoraUtils.kt index 16dec755..58bb6573 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraUtils.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraUtils.kt @@ -1080,8 +1080,8 @@ suspend fun loadCustomExtractor( link.url, link.referer, when { - link.type == ExtractorLinkType.M3U8 -> link.quality link.name == "VidSrc" -> Qualities.P1080.value + link.type == ExtractorLinkType.M3U8 -> link.quality else -> quality ?: link.quality }, link.type,