fix sflix (#30)

Co-authored-by: Cloudburst <18114966+C10udburst@users.noreply.github.com>
This commit is contained in:
Marouane 2022-12-18 05:26:40 -05:00 committed by GitHub
parent ad526142b9
commit b15b792576
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions

View file

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

View file

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