fixed duplicate provider

This commit is contained in:
LagradOst 2022-03-16 19:41:56 +01:00
parent 196e7c31e6
commit 0f5971a870
4 changed files with 34 additions and 11 deletions

View file

@ -70,13 +70,13 @@ object APIHolder {
AsianLoadProvider(), AsianLoadProvider(),
BflixProvider("https://bflix.ru","Bflix"), RealBflixProvider(),
BflixProvider("https://fmovies.to","Fmovies.to"), FmoviesProvider(),
BflixProvider("https://sflix.pro","Sflix.pro"), SflixProProvider(),
SflixProvider("https://sflix.to", "Sflix.to"), RealSflixProvider(),
SflixProvider("https://dopebox.to", "Dopebox"), DopeboxProvider(),
SflixProvider("https://solarmovie.pe", "Solarmovie"), SolarmovieProvider(),
//TmdbProvider(), //TmdbProvider(),

View file

@ -7,7 +7,11 @@ import com.lagradost.cloudstream3.utils.ExtractorLink
import com.lagradost.cloudstream3.utils.loadExtractor import com.lagradost.cloudstream3.utils.loadExtractor
import org.jsoup.Jsoup import org.jsoup.Jsoup
class BflixProvider(providerUrl: String, providerName: String) : MainAPI() { class RealBflixProvider : BflixProvider("https://bflix.ru","Bflix")
class FmoviesProvider : BflixProvider("https://fmovies.to","Fmovies.to")
class SflixProProvider : BflixProvider("https://sflix.pro","Sflix.pro")
open class BflixProvider(providerUrl: String, providerName: String) : MainAPI() {
override var mainUrl = providerUrl override var mainUrl = providerUrl
override var name = providerName override var name = providerName
override val hasMainPage = true override val hasMainPage = true

View file

@ -21,7 +21,11 @@ import org.jsoup.nodes.Element
import java.net.URI import java.net.URI
import kotlin.system.measureTimeMillis import kotlin.system.measureTimeMillis
class SflixProvider(providerUrl: String, providerName: String) : MainAPI() { class RealSflixProvider : SflixProvider("https://sflix.to", "Sflix.to")
class DopeboxProvider : SflixProvider("https://dopebox.to", "Dopebox")
class SolarmovieProvider : SflixProvider("https://solarmovie.pe", "Solarmovie")
open class SflixProvider(providerUrl: String, providerName: String) : MainAPI() {
override var mainUrl = providerUrl override var mainUrl = providerUrl
override var name = providerName override var name = providerName

View file

@ -44,17 +44,17 @@
"url": "https://asianembed.io", "url": "https://asianembed.io",
"status": 1 "status": 1
}, },
"BflixProvider": { "RealBflixProvider": {
"name": "Bflix", "name": "Bflix",
"url": "https://bflix.ru", "url": "https://bflix.ru",
"status": 1 "status": 1
}, },
"BflixProviderClone1": { "FmoviesProvider": {
"name": "Fmovies.to", "name": "Fmovies.to",
"url": "https://fmovies.to", "url": "https://fmovies.to",
"status": 1 "status": 1
}, },
"BflixProviderClone2": { "SflixProProvider": {
"name": "Sflix.pro", "name": "Sflix.pro",
"url": "https://sflix.pro", "url": "https://sflix.pro",
"status": 1 "status": 1
@ -258,5 +258,20 @@
"name": "Zoro", "name": "Zoro",
"url": "https://zoro.to", "url": "https://zoro.to",
"status": 1 "status": 1
},
"RealSflixProvider": {
"name": "Sflix.to",
"url": "https://sflix.to",
"status": 1
},
"DopeboxProvider": {
"name": "Dopebox",
"url": "https://dopebox.to",
"status": 1
},
"SolarmovieProvider": {
"name": "Solarmovie",
"url": "https://solarmovie.pe",
"status": 1
} }
} }