From 46ff205d9feb10612ab1727e0e2fa9893cd734c2 Mon Sep 17 00:00:00 2001 From: hexated Date: Mon, 5 Jun 2023 16:46:05 +0700 Subject: [PATCH] sora: fix Flixon --- SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt | 5 ++--- SoraStream/src/main/kotlin/com/hexated/SoraStream.kt | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt index 81871eab..9116ba96 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt @@ -1767,14 +1767,13 @@ object SoraExtractor : SoraStream() { val unPacker = app.get( iframe ?: return, - referer = "https://flixon.ru/" + referer = "$flixonAPI/" ).document.selectFirst("script:containsData(JuicyCodes.Run)") ?.data() ?.substringAfter("JuicyCodes.Run(")?.substringBefore(");")?.split("+") ?.joinToString("") { it.replace("\"", "").trim() } ?.let { getAndUnpack(base64Decode(it)) } - val ref = "https://onionflix.ru/" val link = Regex("[\"']file[\"']:[\"'](.+?)[\"'],").find( unPacker ?: return )?.groupValues?.getOrNull(1) @@ -1784,7 +1783,7 @@ object SoraExtractor : SoraStream() { "Flixon", "Flixon", link ?: return, - ref, + "https://onionplay.stream/", Qualities.P720.value, link.contains(".m3u8") ) diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt b/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt index 7b36eff7..b161bf65 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt @@ -112,7 +112,7 @@ open class SoraStream : TmdbProvider() { const val bollyMazaAPI = "https://m.bollymaza.click" const val moviesbayAPI = "https://moviesbay.live" const val rStreamAPI = "https://remotestre.am" - const val flixonAPI = "https://flixon.ru" + const val flixonAPI = "https://flixon.lol" const val animeKaizokuAPI = "https://animekaizoku.com" const val movie123NetAPI = "https://ww8.0123movie.net" const val smashyStreamAPI = "https://embed.smashystream.com"