From 7ce045ccd7178aeb0e4d41587d3f29dfc0c49ced Mon Sep 17 00:00:00 2001 From: hexated Date: Wed, 11 Jan 2023 14:35:13 +0700 Subject: [PATCH] fixed Flixon --- 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 cb107908..dc2de8ca 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt @@ -1896,7 +1896,7 @@ object SoraExtractor : SoraStream() { ?.substringAfter("('")?.substringBefore("')") val unPacker = - app.get(iframe ?: return).document.selectFirst("script:containsData(JuicyCodes.Run)") + app.get(iframe ?: return, referer = "https://flixon.ru/").document.selectFirst("script:containsData(JuicyCodes.Run)") ?.data() ?.substringAfter("JuicyCodes.Run(")?.substringBefore(");")?.split("+") ?.joinToString("") { it.replace("\"", "").trim() } @@ -1905,7 +1905,7 @@ object SoraExtractor : SoraStream() { val ref = "https://onionflix.ru/" val link = Regex("[\"']file[\"']:[\"'](.+?)[\"'],").find( unPacker ?: return - )?.groupValues?.getOrNull(1)?.let { app.get(it, referer = ref).url } + )?.groupValues?.getOrNull(1) callback.invoke( ExtractorLink(