mirror of
https://github.com/daarkdemon/cs-darkdemon-extensions.git
synced 2024-08-14 23:57:20 +00:00
Merge pull request #24 from daarkdemon/pr
feat: closes #20 add buttflix
This commit is contained in:
commit
3e79d763ac
2 changed files with 25 additions and 1 deletions
|
@ -126,6 +126,22 @@ object SoraJioTVExtractor: SoraJioTVProvider() {
|
|||
)
|
||||
)
|
||||
}
|
||||
fun invokeBF(
|
||||
id: String? = null,
|
||||
callback: (ExtractorLink) -> Unit
|
||||
){
|
||||
val link = "$BFJioTV/autoq.php?c=$id"
|
||||
callback.invoke(
|
||||
ExtractorLink(
|
||||
this.name,
|
||||
"BFJioTV",
|
||||
link,
|
||||
referer = "",
|
||||
quality = Qualities.Unknown.value,
|
||||
isM3u8 = true,
|
||||
)
|
||||
)
|
||||
}
|
||||
fun invokeRPK(
|
||||
id: String? = null,
|
||||
callback: (ExtractorLink) -> Unit
|
||||
|
@ -142,4 +158,4 @@ object SoraJioTVExtractor: SoraJioTVProvider() {
|
|||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package com.darkdemon
|
||||
|
||||
import com.darkdemon.SoraJioTVExtractor.invokeBF
|
||||
import com.darkdemon.SoraJioTVExtractor.invokeFH
|
||||
import com.darkdemon.SoraJioTVExtractor.invokeFS
|
||||
import com.darkdemon.SoraJioTVExtractor.invokeGDL
|
||||
|
@ -47,6 +48,7 @@ open class SoraJioTVProvider : MainAPI() { // all providers must be an instance
|
|||
const val IJioTV = "https://epic-austin.128-199-17-57.plesk.page"
|
||||
const val SJioTV = "https://the-nayeemparvez.ml"
|
||||
const val FSJioTV = "https://tv.freeseries.eu.org"
|
||||
const val BFJioTV = "https://jio.buttflix.best"
|
||||
const val FHJioTV = "https://filmyhub.ga"
|
||||
const val TSJioTV = "https://tvstream.fun"
|
||||
const val RPKJioTV = "http://ranapk-nxt.ml"
|
||||
|
@ -186,6 +188,12 @@ open class SoraJioTVProvider : MainAPI() { // all providers must be an instance
|
|||
result.logoUrl?.substringBefore(".png"),
|
||||
callback
|
||||
)
|
||||
},
|
||||
{
|
||||
invokeBF(
|
||||
result.logoUrl?.substringBefore(".png"),
|
||||
callback
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue