mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Extractor: Update Vidplay Extractor
This commit is contained in:
parent
ffa7b0248a
commit
e404a16ae9
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ open class Vidplay : ExtractorApi() {
|
|||
}
|
||||
|
||||
private suspend fun callFutoken(id: String, url: String): String? {
|
||||
val script = app.get("$mainUrl/futoken").text
|
||||
val script = app.get("$mainUrl/futoken", referer = url).text
|
||||
val k = "k='(\\S+)'".toRegex().find(script)?.groupValues?.get(1) ?: return null
|
||||
val a = mutableListOf(k)
|
||||
for (i in id.indices) {
|
||||
|
|
Loading…
Reference in a new issue