added Kissasian & fixed Movierulzhd

This commit is contained in:
hexated 2022-09-14 00:19:36 +07:00
parent 4ecddc50a6
commit f9aef12a03
8 changed files with 186 additions and 7 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 3
version = 4
cloudstream {

View file

@ -175,14 +175,16 @@ class Movierulzhd : MainAPI() {
referer = url,
).text
val mapped = urltext.let { AppUtils.parseJson<Main>(it) }
val testurl = app.get(mapped.streamData.file, headers = headers).text
if (urltext.contains("m3u8") && testurl.contains("EXTM3U"))
M3u8Helper.generateM3u8(
callback.invoke(
ExtractorLink(
name,
name,
mapped.streamData.file,
url,
Qualities.Unknown.value,
headers = headers
).forEach(callback)
)
)
}
override suspend fun loadLinks(