Extractor: Update Vidplay Extractor (#1036)

This commit is contained in:
Rushikesh Chavan 2024-04-13 10:52:08 -07:00 committed by GitHub
parent e6c111532d
commit afdc4988ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {