mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
change key
This commit is contained in:
parent
5f51a8f7bc
commit
98e777c643
1 changed files with 4 additions and 4 deletions
|
@ -10,12 +10,13 @@ import com.lagradost.cloudstream3.utils.M3u8Helper
|
|||
import javax.crypto.Cipher
|
||||
import javax.crypto.spec.SecretKeySpec
|
||||
|
||||
// Code found in https://github.com/J4zzyB1te7s/keys
|
||||
// special credits to @J4zzyB1te7s for providing key
|
||||
// Code found in https://github.com/Claudemirovsky/worstsource-keys
|
||||
// special credits to @Claudemirovsky for providing key
|
||||
open class Vidplay : ExtractorApi() {
|
||||
override val name = "Vidplay"
|
||||
override val mainUrl = "https://vidplay.site"
|
||||
override val requiresReferer = true
|
||||
open val key = "https://raw.githubusercontent.com/Claudemirovsky/worstsource-keys/keys/keys.json"
|
||||
|
||||
override suspend fun getUrl(
|
||||
url: String,
|
||||
|
@ -44,8 +45,7 @@ open class Vidplay : ExtractorApi() {
|
|||
}
|
||||
|
||||
private suspend fun getKeys(): List<String> {
|
||||
return app.get("https://raw.githubusercontent.com/J4zzyB1te7s/keys/keys/keys.json")
|
||||
.parsed()
|
||||
return app.get(key).parsed()
|
||||
}
|
||||
|
||||
private suspend fun callFutoken(id: String, url: String): String? {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue