mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
fixed duplicate provider
This commit is contained in:
parent
196e7c31e6
commit
0f5971a870
4 changed files with 34 additions and 11 deletions
|
@ -70,13 +70,13 @@ object APIHolder {
|
|||
|
||||
AsianLoadProvider(),
|
||||
|
||||
BflixProvider("https://bflix.ru","Bflix"),
|
||||
BflixProvider("https://fmovies.to","Fmovies.to"),
|
||||
BflixProvider("https://sflix.pro","Sflix.pro"),
|
||||
RealBflixProvider(),
|
||||
FmoviesProvider(),
|
||||
SflixProProvider(),
|
||||
|
||||
SflixProvider("https://sflix.to", "Sflix.to"),
|
||||
SflixProvider("https://dopebox.to", "Dopebox"),
|
||||
SflixProvider("https://solarmovie.pe", "Solarmovie"),
|
||||
RealSflixProvider(),
|
||||
DopeboxProvider(),
|
||||
SolarmovieProvider(),
|
||||
|
||||
//TmdbProvider(),
|
||||
|
||||
|
|
|
@ -7,7 +7,11 @@ import com.lagradost.cloudstream3.utils.ExtractorLink
|
|||
import com.lagradost.cloudstream3.utils.loadExtractor
|
||||
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 name = providerName
|
||||
override val hasMainPage = true
|
||||
|
|
|
@ -21,7 +21,11 @@ import org.jsoup.nodes.Element
|
|||
import java.net.URI
|
||||
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 name = providerName
|
||||
|
||||
|
|
|
@ -44,17 +44,17 @@
|
|||
"url": "https://asianembed.io",
|
||||
"status": 1
|
||||
},
|
||||
"BflixProvider": {
|
||||
"RealBflixProvider": {
|
||||
"name": "Bflix",
|
||||
"url": "https://bflix.ru",
|
||||
"status": 1
|
||||
},
|
||||
"BflixProviderClone1": {
|
||||
"FmoviesProvider": {
|
||||
"name": "Fmovies.to",
|
||||
"url": "https://fmovies.to",
|
||||
"status": 1
|
||||
},
|
||||
"BflixProviderClone2": {
|
||||
"SflixProProvider": {
|
||||
"name": "Sflix.pro",
|
||||
"url": "https://sflix.pro",
|
||||
"status": 1
|
||||
|
@ -258,5 +258,20 @@
|
|||
"name": "Zoro",
|
||||
"url": "https://zoro.to",
|
||||
"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
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue