mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
[Refactor] Added AsaiFlix to json file. Refactored Sflix/Bflix, re-arranged providers for readability (#802)
* Added AsaiFlix to json file. Refactored Sflix and Bflix for readability. Re-arrange providers for readability.. * [skip ci] changed some domains * [skip ci] Changed Bflix clones provider names. * [skip ci] Changed Sflix clones provider names. * [skip ci] Changed Bflix and Sflix clones provider names. * Changed Bflix and Sflix clones provider names.
This commit is contained in:
parent
315bb81806
commit
75ec12b02c
4 changed files with 77 additions and 70 deletions
|
@ -34,20 +34,11 @@ object APIHolder {
|
||||||
|
|
||||||
val allProviders by lazy {
|
val allProviders by lazy {
|
||||||
arrayListOf(
|
arrayListOf(
|
||||||
|
// Movie providers
|
||||||
PelisplusProvider(),
|
PelisplusProvider(),
|
||||||
PelisplusHDProvider(),
|
PelisplusHDProvider(),
|
||||||
PeliSmartProvider(),
|
PeliSmartProvider(),
|
||||||
GogoanimeProvider(),
|
MeloMovieProvider(), // Captcha for links
|
||||||
AllAnimeProvider(),
|
|
||||||
AnimekisaProvider(),
|
|
||||||
//ShiroProvider(), // v2 fucked me
|
|
||||||
AnimeFlickProvider(),
|
|
||||||
AnimeflvnetProvider(),
|
|
||||||
|
|
||||||
TenshiProvider(),
|
|
||||||
WcoProvider(),
|
|
||||||
// MeloMovieProvider(), // Captcha for links
|
|
||||||
DubbedAnimeProvider(),
|
|
||||||
DoramasYTProvider(),
|
DoramasYTProvider(),
|
||||||
CinecalidadProvider(),
|
CinecalidadProvider(),
|
||||||
CuevanaProvider(),
|
CuevanaProvider(),
|
||||||
|
@ -55,34 +46,22 @@ object APIHolder {
|
||||||
PelisflixProvider(),
|
PelisflixProvider(),
|
||||||
SeriesflixProvider(),
|
SeriesflixProvider(),
|
||||||
IHaveNoTvProvider(), // Documentaries provider
|
IHaveNoTvProvider(), // Documentaries provider
|
||||||
//LookMovieProvider(), // RECAPTCHA (Please allow up to 5 seconds...)
|
LookMovieProvider(), // RECAPTCHA (Please allow up to 5 seconds...)
|
||||||
VMoveeProvider(),
|
VMoveeProvider(),
|
||||||
WatchCartoonOnlineProvider(),
|
|
||||||
AllMoviesForYouProvider(),
|
AllMoviesForYouProvider(),
|
||||||
ApiMDBProvider(),
|
|
||||||
|
|
||||||
MonoschinosProvider(),
|
|
||||||
|
|
||||||
VidEmbedProvider(),
|
VidEmbedProvider(),
|
||||||
VfFilmProvider(),
|
VfFilmProvider(),
|
||||||
VfSerieProvider(),
|
VfSerieProvider(),
|
||||||
FrenchStreamProvider(),
|
FrenchStreamProvider(),
|
||||||
|
|
||||||
AsianLoadProvider(),
|
AsianLoadProvider(),
|
||||||
|
AsiaFlixProvider(), // restricted
|
||||||
RealBflixProvider(),
|
BflixProvider(),
|
||||||
FmoviesProvider(),
|
FmoviesToProvider(),
|
||||||
SflixProProvider(),
|
SflixProProvider(),
|
||||||
|
FilmanProvider(),
|
||||||
RealSflixProvider(),
|
SflixProvider(),
|
||||||
DopeboxProvider(),
|
DopeboxProvider(),
|
||||||
SolarmovieProvider(),
|
SolarmovieProvider(),
|
||||||
|
|
||||||
//TmdbProvider(),
|
|
||||||
|
|
||||||
FilmanProvider(),
|
|
||||||
|
|
||||||
ZoroProvider(),
|
|
||||||
PinoyMoviePediaProvider(),
|
PinoyMoviePediaProvider(),
|
||||||
PinoyHDXyzProvider(),
|
PinoyHDXyzProvider(),
|
||||||
PinoyMoviesEsProvider(),
|
PinoyMoviesEsProvider(),
|
||||||
|
@ -94,18 +73,31 @@ object APIHolder {
|
||||||
AkwamProvider(),
|
AkwamProvider(),
|
||||||
MyCimaProvider(),
|
MyCimaProvider(),
|
||||||
EgyBestProvider(),
|
EgyBestProvider(),
|
||||||
|
SoaptwoDayProvider(),
|
||||||
|
HDMProvider(),// disabled due to cloudflare
|
||||||
|
|
||||||
|
// Metadata providers
|
||||||
|
//TmdbProvider(),
|
||||||
|
CrossTmdbProvider(),
|
||||||
|
ApiMDBProvider(),
|
||||||
|
|
||||||
|
// Anime providers
|
||||||
|
WatchCartoonOnlineProvider(),
|
||||||
|
GogoanimeProvider(),
|
||||||
|
AllAnimeProvider(),
|
||||||
|
AnimekisaProvider(),
|
||||||
|
//ShiroProvider(), // v2 fucked me
|
||||||
|
AnimeFlickProvider(),
|
||||||
|
AnimeflvnetProvider(),
|
||||||
|
TenshiProvider(),
|
||||||
|
WcoProvider(),
|
||||||
AnimePaheProvider(),
|
AnimePaheProvider(),
|
||||||
NineAnimeProvider(),
|
NineAnimeProvider(),
|
||||||
AnimeWorldProvider(),
|
AnimeWorldProvider(),
|
||||||
SoaptwoDayProvider(),
|
ZoroProvider(),
|
||||||
|
DubbedAnimeProvider(),
|
||||||
CrossTmdbProvider(),
|
MonoschinosProvider(),
|
||||||
|
KawaiifuProvider(), // disabled due to cloudflare
|
||||||
//restricted
|
|
||||||
AsiaFlixProvider(),
|
|
||||||
//backwards
|
|
||||||
KawaiifuProvider(), // removed due to cloudflare
|
|
||||||
HDMProvider(),// removed due to cloudflare
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,13 +7,18 @@ 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 RealBflixProvider : BflixProvider("https://bflix.ru","Bflix")
|
class FmoviesToProvider : BflixProvider() {
|
||||||
class FmoviesProvider : BflixProvider("https://fmovies.to","Fmovies.to")
|
override var mainUrl = "https://fmovies.to"
|
||||||
class SflixProProvider : BflixProvider("https://sflix.pro","Sflix.pro")
|
override var name = "Fmovies.to"
|
||||||
|
}
|
||||||
|
class SflixProProvider : BflixProvider() {
|
||||||
|
override var mainUrl = "https://sflix.pro"
|
||||||
|
override var name = "Sflix.pro"
|
||||||
|
}
|
||||||
|
|
||||||
open class BflixProvider(providerUrl: String, providerName: String) : MainAPI() {
|
open class BflixProvider() : MainAPI() {
|
||||||
override var mainUrl = providerUrl
|
override var mainUrl = "https://bflix.ru"
|
||||||
override var name = providerName
|
override var name = "Bflix"
|
||||||
override val hasMainPage = true
|
override val hasMainPage = true
|
||||||
override val hasChromecastSupport = true
|
override val hasChromecastSupport = true
|
||||||
override val hasDownloadSupport = true
|
override val hasDownloadSupport = true
|
||||||
|
|
|
@ -21,13 +21,18 @@ import org.jsoup.nodes.Element
|
||||||
import java.net.URI
|
import java.net.URI
|
||||||
import kotlin.system.measureTimeMillis
|
import kotlin.system.measureTimeMillis
|
||||||
|
|
||||||
class RealSflixProvider : SflixProvider("https://sflix.to", "Sflix.to")
|
class DopeboxProvider : SflixProvider() {
|
||||||
class DopeboxProvider : SflixProvider("https://dopebox.to", "Dopebox")
|
override var mainUrl = "https://dopebox.to"
|
||||||
class SolarmovieProvider : SflixProvider("https://solarmovie.pe", "Solarmovie")
|
override var name = "Dopebox"
|
||||||
|
}
|
||||||
|
class SolarmovieProvider : SflixProvider() {
|
||||||
|
override var mainUrl = "https://solarmovie.pe"
|
||||||
|
override var name = "Solarmovie"
|
||||||
|
}
|
||||||
|
|
||||||
open class SflixProvider(providerUrl: String, providerName: String) : MainAPI() {
|
open class SflixProvider() : MainAPI() {
|
||||||
override var mainUrl = providerUrl
|
override var mainUrl = "https://sflix.to"
|
||||||
override var name = providerName
|
override var name = "Sflix.to"
|
||||||
|
|
||||||
override val hasQuickSearch = false
|
override val hasQuickSearch = false
|
||||||
override val hasMainPage = true
|
override val hasMainPage = true
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"AkwamProvider": {
|
"AkwamProvider": {
|
||||||
"name": "Akwam",
|
"name": "Akwam",
|
||||||
"url": "https://akwam.io",
|
"url": "https://akwam.to",
|
||||||
"status": 1
|
"status": 1
|
||||||
},
|
},
|
||||||
"AllAnimeProvider": {
|
"AllAnimeProvider": {
|
||||||
|
@ -44,12 +44,17 @@
|
||||||
"url": "https://asianembed.io",
|
"url": "https://asianembed.io",
|
||||||
"status": 1
|
"status": 1
|
||||||
},
|
},
|
||||||
"RealBflixProvider": {
|
"AsiaFlixProvider": {
|
||||||
|
"name": "AsiaFlix",
|
||||||
|
"url": "https://asiaflix.app",
|
||||||
|
"status": 3
|
||||||
|
},
|
||||||
|
"BflixProvider": {
|
||||||
"name": "Bflix",
|
"name": "Bflix",
|
||||||
"url": "https://bflix.ru",
|
"url": "https://bflix.ru",
|
||||||
"status": 1
|
"status": 1
|
||||||
},
|
},
|
||||||
"FmoviesProvider": {
|
"FmoviesToProvider": {
|
||||||
"name": "Fmovies.to",
|
"name": "Fmovies.to",
|
||||||
"url": "https://fmovies.to",
|
"url": "https://fmovies.to",
|
||||||
"status": 1
|
"status": 1
|
||||||
|
@ -71,7 +76,7 @@
|
||||||
},
|
},
|
||||||
"CuevanaProvider": {
|
"CuevanaProvider": {
|
||||||
"name": "Cuevana",
|
"name": "Cuevana",
|
||||||
"url": "https://cuevana3.io",
|
"url": "https://cuevana3.me",
|
||||||
"status": 1
|
"status": 1
|
||||||
},
|
},
|
||||||
"DoramasYTProvider": {
|
"DoramasYTProvider": {
|
||||||
|
@ -194,6 +199,21 @@
|
||||||
"url": "https://pinoymovies.es",
|
"url": "https://pinoymovies.es",
|
||||||
"status": 1
|
"status": 1
|
||||||
},
|
},
|
||||||
|
"SflixProvider": {
|
||||||
|
"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
|
||||||
|
},
|
||||||
"SeriesflixProvider": {
|
"SeriesflixProvider": {
|
||||||
"name": "Seriesflix",
|
"name": "Seriesflix",
|
||||||
"url": "https://seriesflix.video",
|
"url": "https://seriesflix.video",
|
||||||
|
@ -258,20 +278,5 @@
|
||||||
"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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue