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
version = 10
version = 11
cloudstream {
@ -25,4 +25,4 @@ cloudstream {
)
iconUrl = "https://www.google.com/s2/favicons?domain=www.2embed.to&sz=%size%"
}
}

View file

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