mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Vidplay: change for more accurate key (#831)
This commit is contained in:
parent
3d90af29eb
commit
1356a954f3
1 changed files with 4 additions and 4 deletions
|
@ -10,8 +10,8 @@ import com.lagradost.cloudstream3.utils.M3u8Helper
|
||||||
import javax.crypto.Cipher
|
import javax.crypto.Cipher
|
||||||
import javax.crypto.spec.SecretKeySpec
|
import javax.crypto.spec.SecretKeySpec
|
||||||
|
|
||||||
// Code found in https://github.com/Claudemirovsky/worstsource-keys
|
// Code found in https://github.com/J4zzyB1te7s/keys
|
||||||
// special credits to @Claudemirovsky for providing key
|
// special credits to @J4zzyB1te7s for providing key
|
||||||
open class Vidplay : ExtractorApi() {
|
open class Vidplay : ExtractorApi() {
|
||||||
override val name = "Vidplay"
|
override val name = "Vidplay"
|
||||||
override val mainUrl = "https://vidplay.site"
|
override val mainUrl = "https://vidplay.site"
|
||||||
|
@ -44,7 +44,7 @@ open class Vidplay : ExtractorApi() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private suspend fun getKeys(): List<String> {
|
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()
|
.parsed()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,4 +89,4 @@ open class Vidplay : ExtractorApi() {
|
||||||
@JsonProperty("result") val result: Result? = null,
|
@JsonProperty("result") val result: Result? = null,
|
||||||
)
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue