mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
Update
This commit is contained in:
parent
8308d621f6
commit
e236328807
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class Minioppai : MainAPI() {
|
|||
subtitleCallback: (SubtitleFile) -> Unit,
|
||||
callback: (ExtractorLink) -> Unit
|
||||
) {
|
||||
val script = getAndUnpack(app.get(url).text)
|
||||
val script = getAndUnpack(app.get(url, referer="$mainUrl/").text)
|
||||
val sources = script.substringAfter("sources:[").substringBefore("]").replace("'", "\"")
|
||||
val subtitles = script.substringAfter("\"tracks\":[").substringBefore("]")
|
||||
|
||||
|
|
Loading…
Reference in a new issue