disable Baymovies

This commit is contained in:
hexated 2023-02-07 10:43:31 +07:00
parent 6c7836cfb3
commit a18bc26a16
2 changed files with 18 additions and 18 deletions

View File

@ -2115,7 +2115,7 @@ object SoraExtractor : SoraStream() {
episode: Int? = null, episode: Int? = null,
callback: (ExtractorLink) -> Unit, callback: (ExtractorLink) -> Unit,
) { ) {
invokeChillmovies( invokeIndex(
apiUrl, apiUrl,
api, api,
title, title,
@ -2135,7 +2135,7 @@ object SoraExtractor : SoraStream() {
episode: Int? = null, episode: Int? = null,
callback: (ExtractorLink) -> Unit, callback: (ExtractorLink) -> Unit,
) { ) {
invokeChillmovies( invokeIndex(
apiUrl, apiUrl,
api, api,
title, title,
@ -2155,7 +2155,7 @@ object SoraExtractor : SoraStream() {
episode: Int? = null, episode: Int? = null,
callback: (ExtractorLink) -> Unit, callback: (ExtractorLink) -> Unit,
) { ) {
invokeChillmovies( invokeIndex(
apiUrl, apiUrl,
api, api,
title, title,
@ -2175,7 +2175,7 @@ object SoraExtractor : SoraStream() {
episode: Int? = null, episode: Int? = null,
callback: (ExtractorLink) -> Unit, callback: (ExtractorLink) -> Unit,
) { ) {
invokeChillmovies( invokeIndex(
apiUrl, apiUrl,
api, api,
title, title,
@ -2195,7 +2195,7 @@ object SoraExtractor : SoraStream() {
episode: Int? = null, episode: Int? = null,
callback: (ExtractorLink) -> Unit, callback: (ExtractorLink) -> Unit,
) { ) {
invokeChillmovies( invokeIndex(
apiUrl, apiUrl,
api, api,
title, title,
@ -2215,7 +2215,7 @@ object SoraExtractor : SoraStream() {
episode: Int? = null, episode: Int? = null,
callback: (ExtractorLink) -> Unit, callback: (ExtractorLink) -> Unit,
) { ) {
invokeChillmovies( invokeIndex(
apiUrl, apiUrl,
api, api,
title, title,
@ -2236,7 +2236,7 @@ object SoraExtractor : SoraStream() {
callback: (ExtractorLink) -> Unit, callback: (ExtractorLink) -> Unit,
password: String? = null, password: String? = null,
) { ) {
invokeChillmovies( invokeIndex(
apiUrl, apiUrl,
api, api,
title, title,
@ -2248,7 +2248,7 @@ object SoraExtractor : SoraStream() {
) )
} }
private suspend fun invokeChillmovies( private suspend fun invokeIndex(
apiUrl: String, apiUrl: String,
api: String, api: String,
title: String? = null, title: String? = null,

View File

@ -117,7 +117,7 @@ open class SoraStream : TmdbProvider() {
const val movie123NetAPI = "https://ww7.0123movie.net" const val movie123NetAPI = "https://ww7.0123movie.net"
const val smashyStreamAPI = "https://embed.smashystream.com" const val smashyStreamAPI = "https://embed.smashystream.com"
const val watchSomuchAPI = "https://watchsomuch.tv" // sub only const val watchSomuchAPI = "https://watchsomuch.tv" // sub only
const val baymoviesAPI = "https://thebayindexpublicgroupapi.zindex.eu.org" const val baymoviesAPI = "https://thebayindexpublicgroupapi.zindex.eu.org" // dead
const val chillmovies0API = "https://chill.aicirou.workers.dev/0:" const val chillmovies0API = "https://chill.aicirou.workers.dev/0:"
const val chillmovies1API = "https://chill.aicirou.workers.dev/1:" const val chillmovies1API = "https://chill.aicirou.workers.dev/1:"
const val gamMoviesAPI = "https://drive.gamick.workers.dev/0:" const val gamMoviesAPI = "https://drive.gamick.workers.dev/0:"
@ -562,15 +562,15 @@ open class SoraStream : TmdbProvider() {
{ {
invokeSmashyStream(res.imdbId, res.season, res.episode, callback) invokeSmashyStream(res.imdbId, res.season, res.episode, callback)
}, },
{ // {
if (!res.isAnime) invokeBaymovies( // if (!res.isAnime) invokeBaymovies(
res.title, // res.title,
res.year, // res.year,
res.season, // res.season,
res.episode, // res.episode,
callback // callback
) // )
}, // },
{ {
invokeChillmovies0( invokeChillmovies0(
chillmovies0API, chillmovies0API,