mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fixed Flixon
This commit is contained in:
parent
73c3eece3b
commit
7ce045ccd7
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue