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 =
|
val unPacker =
|
||||||
app.get(
|
app.get(
|
||||||
iframe ?: return,
|
iframe ?: return,
|
||||||
referer = "https://flixon.ru/"
|
referer = "$flixonAPI/"
|
||||||
).document.selectFirst("script:containsData(JuicyCodes.Run)")
|
).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() }
|
||||||
?.let { getAndUnpack(base64Decode(it)) }
|
?.let { getAndUnpack(base64Decode(it)) }
|
||||||
|
|
||||||
val ref = "https://onionflix.ru/"
|
|
||||||
val link = Regex("[\"']file[\"']:[\"'](.+?)[\"'],").find(
|
val link = Regex("[\"']file[\"']:[\"'](.+?)[\"'],").find(
|
||||||
unPacker ?: return
|
unPacker ?: return
|
||||||
)?.groupValues?.getOrNull(1)
|
)?.groupValues?.getOrNull(1)
|
||||||
|
@ -1784,7 +1783,7 @@ object SoraExtractor : SoraStream() {
|
||||||
"Flixon",
|
"Flixon",
|
||||||
"Flixon",
|
"Flixon",
|
||||||
link ?: return,
|
link ?: return,
|
||||||
ref,
|
"https://onionplay.stream/",
|
||||||
Qualities.P720.value,
|
Qualities.P720.value,
|
||||||
link.contains(".m3u8")
|
link.contains(".m3u8")
|
||||||
)
|
)
|
||||||
|
|
|
@ -112,7 +112,7 @@ open class SoraStream : TmdbProvider() {
|
||||||
const val bollyMazaAPI = "https://m.bollymaza.click"
|
const val bollyMazaAPI = "https://m.bollymaza.click"
|
||||||
const val moviesbayAPI = "https://moviesbay.live"
|
const val moviesbayAPI = "https://moviesbay.live"
|
||||||
const val rStreamAPI = "https://remotestre.am"
|
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 animeKaizokuAPI = "https://animekaizoku.com"
|
||||||
const val movie123NetAPI = "https://ww8.0123movie.net"
|
const val movie123NetAPI = "https://ww8.0123movie.net"
|
||||||
const val smashyStreamAPI = "https://embed.smashystream.com"
|
const val smashyStreamAPI = "https://embed.smashystream.com"
|
||||||
|
|
Loading…
Reference in a new issue