Fix Sbflix

This commit is contained in:
Hexated 2023-03-13 17:24:51 +07:00 committed by GitHub
parent 83ecd64efe
commit d7d755d229

View file

@ -29,7 +29,7 @@ open class Sbflix : ExtractorApi() {
val id = regexID.findAll(url).map { val id = regexID.findAll(url).map {
it.value.replace(Regex("(embed-|/e/)"), "") it.value.replace(Regex("(embed-|/e/)"), "")
}.first() }.first()
val master = "$mainUrl/sources51/" + bytesToHex("||$id||||streamsb".toByteArray()) + "/" val master = "$mainUrl/sources15/" + bytesToHex("||$id||||streamsb".toByteArray()) + "/"
val headers = mapOf( val headers = mapOf(
"watchsb" to "sbstream", "watchsb" to "sbstream",
) )
@ -86,4 +86,4 @@ open class Sbflix : ExtractorApi() {
@JsonProperty("status_code") val statusCode: Int, @JsonProperty("status_code") val statusCode: Int,
) )
} }