mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
sora: fix Flixon
This commit is contained in:
parent
8d04957973
commit
46ff205d9f
2 changed files with 3 additions and 4 deletions
|
@ -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")
|
||||
)
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue