fixed Flixon

This commit is contained in:
hexated 2023-01-11 14:35:13 +07:00
parent 73c3eece3b
commit 7ce045ccd7

View file

@ -1896,7 +1896,7 @@ object SoraExtractor : SoraStream() {
?.substringAfter("('")?.substringBefore("')") ?.substringAfter("('")?.substringBefore("')")
val unPacker = 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() ?.data()
?.substringAfter("JuicyCodes.Run(")?.substringBefore(");")?.split("+") ?.substringAfter("JuicyCodes.Run(")?.substringBefore(");")?.split("+")
?.joinToString("") { it.replace("\"", "").trim() } ?.joinToString("") { it.replace("\"", "").trim() }
@ -1905,7 +1905,7 @@ object SoraExtractor : SoraStream() {
val ref = "https://onionflix.ru/" val ref = "https://onionflix.ru/"
val link = Regex("[\"']file[\"']:[\"'](.+?)[\"'],").find( val link = Regex("[\"']file[\"']:[\"'](.+?)[\"'],").find(
unPacker ?: return unPacker ?: return
)?.groupValues?.getOrNull(1)?.let { app.get(it, referer = ref).url } )?.groupValues?.getOrNull(1)
callback.invoke( callback.invoke(
ExtractorLink( ExtractorLink(