mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
[Sora] fixed Upcoming
This commit is contained in:
parent
112982a39f
commit
e1962c1dfa
3 changed files with 9 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 72
|
||||
version = 73
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -1397,7 +1397,6 @@ object SoraExtractor : SoraStream() {
|
|||
imdbId: String? = null,
|
||||
season: Int? = null,
|
||||
episode: Int? = null,
|
||||
subtitleCallback: (SubtitleFile) -> Unit,
|
||||
callback: (ExtractorLink) -> Unit
|
||||
) {
|
||||
val request = app.get("$fwatayakoAPI/IAF0wWTdNYZm?imdb_id=$imdbId")
|
||||
|
|
|
@ -122,20 +122,20 @@ open class SoraStream : TmdbProvider() {
|
|||
}
|
||||
|
||||
override val mainPage = mainPageOf(
|
||||
"$tmdbAPI/trending/all/day?api_key=$apiKey®ion=" to "Trending",
|
||||
"$tmdbAPI/movie/popular?api_key=$apiKey®ion=" to "Popular Movies",
|
||||
"$tmdbAPI/tv/popular?api_key=$apiKey®ion=" to "Popular TV Shows",
|
||||
"$tmdbAPI/trending/all/day?api_key=$apiKey®ion=US" to "Trending",
|
||||
"$tmdbAPI/movie/popular?api_key=$apiKey®ion=US" to "Popular Movies",
|
||||
"$tmdbAPI/tv/popular?api_key=$apiKey®ion=US" to "Popular TV Shows",
|
||||
// "$tmdbAPI/tv/airing_today?api_key=$apiKey®ion=" to "Airing Today TV Shows",
|
||||
"$tmdbAPI/tv/on_the_air?api_key=$apiKey®ion=" to "On The Air TV Shows",
|
||||
"$tmdbAPI/tv/on_the_air?api_key=$apiKey®ion=US" to "On The Air TV Shows",
|
||||
"$tmdbAPI/discover/tv?api_key=$apiKey&with_networks=213" to "Netflix",
|
||||
"$tmdbAPI/discover/tv?api_key=$apiKey&with_networks=1024" to "Amazon",
|
||||
"$tmdbAPI/discover/tv?api_key=$apiKey&with_networks=2739" to "Disney+",
|
||||
"$tmdbAPI/discover/tv?api_key=$apiKey&with_networks=453" to "Hulu",
|
||||
"$tmdbAPI/discover/tv?api_key=$apiKey&with_networks=2552" to "Apple TV+",
|
||||
"$tmdbAPI/discover/tv?api_key=$apiKey&with_networks=49" to "HBO",
|
||||
"$tmdbAPI/movie/top_rated?api_key=$apiKey®ion=" to "Top Rated Movies",
|
||||
"$tmdbAPI/tv/top_rated?api_key=$apiKey®ion=" to "Top Rated TV Shows",
|
||||
"$tmdbAPI/movie/upcoming?api_key=$apiKey®ion=" to "Upcoming Movies",
|
||||
"$tmdbAPI/movie/top_rated?api_key=$apiKey®ion=US" to "Top Rated Movies",
|
||||
"$tmdbAPI/tv/top_rated?api_key=$apiKey®ion=US" to "Top Rated TV Shows",
|
||||
"$tmdbAPI/movie/upcoming?api_key=$apiKey®ion=US" to "Upcoming Movies",
|
||||
"$tmdbAPI/discover/tv?api_key=$apiKey&with_original_language=ko" to "Korean Shows",
|
||||
"$tmdbAPI/tv/airing_today?api_key=$apiKey&with_keywords=210024|222243&sort_by=primary_release_date.desc" to "Airing Today Anime",
|
||||
"$tmdbAPI/tv/on_the_air?api_key=$apiKey&with_keywords=210024|222243&sort_by=primary_release_date.desc" to "Ongoing Anime",
|
||||
|
@ -452,7 +452,7 @@ open class SoraStream : TmdbProvider() {
|
|||
)
|
||||
},
|
||||
{
|
||||
invokeFwatayako(res.imdbId, res.season, res.episode, subtitleCallback, callback)
|
||||
invokeFwatayako(res.imdbId, res.season, res.episode, callback)
|
||||
},
|
||||
{
|
||||
if (!res.isAnime) invokeGMovies(
|
||||
|
|
Loading…
Reference in a new issue