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