mirror of
https://github.com/recloudstream/cloudstream-extensions.git
synced 2024-08-15 03:03:54 +00:00
fix sflix (#30)
Co-authored-by: Cloudburst <18114966+C10udburst@users.noreply.github.com>
This commit is contained in:
parent
ad526142b9
commit
b15b792576
2 changed files with 4 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 10
|
version = 11
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue