Vidplay: change for more accurate key (#831)

This commit is contained in:
Sofie 2023-12-20 07:18:32 +07:00 committed by GitHub
parent 3d90af29eb
commit 1356a954f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,8 @@ import com.lagradost.cloudstream3.utils.M3u8Helper
import javax.crypto.Cipher
import javax.crypto.spec.SecretKeySpec
// Code found in https://github.com/Claudemirovsky/worstsource-keys
// special credits to @Claudemirovsky for providing key
// Code found in https://github.com/J4zzyB1te7s/keys
// special credits to @J4zzyB1te7s for providing key
open class Vidplay : ExtractorApi() {
override val name = "Vidplay"
override val mainUrl = "https://vidplay.site"
@ -44,7 +44,7 @@ open class Vidplay : ExtractorApi() {
}
private suspend fun getKeys(): List<String> {
return app.get("https://raw.githubusercontent.com/Claudemirovsky/worstsource-keys/keys/keys.json")
return app.get("https://raw.githubusercontent.com/J4zzyB1te7s/keys/keys/keys.json")
.parsed()
}
@ -89,4 +89,4 @@ open class Vidplay : ExtractorApi() {
@JsonProperty("result") val result: Result? = null,
)
}
}