2
1
Fork 1
mirror of https://github.com/yoyzo/arab synced 2024-08-15 03:15:00 +00:00

So much shit

This commit is contained in:
Zaw 2023-02-16 14:16:57 +03:00
parent a50fcc8cf5
commit 649a4deb27
33 changed files with 181 additions and 226 deletions

View file

@ -1,7 +1,6 @@
version = 3
cloudstream {
description = ""
authors = listOf( "ImZaw" )
language = "ar"

View file

@ -184,31 +184,6 @@ class ArabSeed : MainAPI() {
!sourceElement.attr("type").contains("mp4")
)
)
} else if (iframeUrl.contains("voe.sx")) {
val doc = app.get(iframeUrl).document
val script = doc.select("script").map { it.data() }.first { it.contains("sources") }
val m3u8 = script.substringAfter("'hls': '").substringBefore("'")
val mp4 = script.substringAfter("'mp4': '").substringBefore("'")
val voeSxquality = script.substringAfter("'video_height': ").substringBefore(",").toInt()
callback.invoke(
ExtractorLink(
this.name,
"Voe.sx m3u8",
m3u8,
data,
voeSxquality,
true
)
)
callback.invoke(
ExtractorLink(
this.name,
"Voe.sx mp4",
mp4,
data,
voeSxquality,
)
)
} else loadExtractor(iframeUrl, data, subtitleCallback, callback)
}
}