Sflix fix

This commit is contained in:
Blatzar 2022-09-17 21:09:22 +02:00
parent c015161c16
commit 95c9aba1c2
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 5
version = 6
cloudstream {

View File

@ -459,11 +459,11 @@ open class SflixProvider : MainAPI() {
}
suspend fun getKey(): String? {
// data class KeyObject(
// @JsonProperty("key") val key: String? = null
// )
return app.get("https://raw.githubusercontent.com/chenkaslowankiya/BruhGlow/main/keys.json").text
// .parsed<KeyObject>().key
data class KeyObject(
@JsonProperty("key") val key: String? = null
)
return app.get("https://raw.githubusercontent.com/BlipBlob/blabflow/main/keys.json")
.parsed<KeyObject>().key
}
/**