Merge pull request #24 from daarkdemon/pr

feat: closes #20 add buttflix
This commit is contained in:
Deepak Patil 2022-12-14 14:53:19 +05:30 committed by GitHub
commit 3e79d763ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 1 deletions

View file

@ -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

View file

@ -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
)
}
)