mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
revert
This commit is contained in:
parent
3c8f6d3a7d
commit
43c6c3108b
3 changed files with 38 additions and 38 deletions
|
@ -649,24 +649,24 @@ object SoraExtractor : SoraStream() {
|
|||
)
|
||||
}
|
||||
|
||||
if(season == null) return
|
||||
json.definitionList?.map { video ->
|
||||
val media = app.get(
|
||||
"${BuildConfig.SORA_API}/movieDrama/getPlayInfo?category=${type}&contentId=${id}&episodeId=${json.id}&definition=${video.code}",
|
||||
headers = soraHeaders,
|
||||
).parsedSafe<SorastreamResponse>()?.data
|
||||
|
||||
callback.invoke(
|
||||
ExtractorLink(
|
||||
this.name,
|
||||
this.name,
|
||||
media?.mediaUrl ?: return@map null,
|
||||
base64DecodeAPI("Lw==b20=LmM=b2s=a2w=bG8=Ly8=czo=dHA=aHQ="),
|
||||
getSoraQuality(media.currentDefinition ?: ""),
|
||||
true,
|
||||
)
|
||||
)
|
||||
}
|
||||
// if(season == null) return
|
||||
// json.definitionList?.map { video ->
|
||||
// val media = app.get(
|
||||
// "${BuildConfig.SORA_API}/movieDrama/getPlayInfo?category=${type}&contentId=${id}&episodeId=${json.id}&definition=${video.code}",
|
||||
// headers = soraHeaders,
|
||||
// ).parsedSafe<SorastreamResponse>()?.data
|
||||
//
|
||||
// callback.invoke(
|
||||
// ExtractorLink(
|
||||
// this.name,
|
||||
// this.name,
|
||||
// media?.mediaUrl ?: return@map null,
|
||||
// base64DecodeAPI("Lw==b20=LmM=b2s=a2w=bG8=Ly8=czo=dHA=aHQ="),
|
||||
// getSoraQuality(media.currentDefinition ?: ""),
|
||||
// true,
|
||||
// )
|
||||
// )
|
||||
// }
|
||||
}
|
||||
|
||||
suspend fun invokeXmovies(
|
||||
|
|
|
@ -369,16 +369,16 @@ open class SoraStream : TmdbProvider() {
|
|||
val res = parseJson<LinkData>(data)
|
||||
|
||||
argamap(
|
||||
// {
|
||||
// invokeSoraStream(
|
||||
// res.title,
|
||||
// res.year,
|
||||
// res.season,
|
||||
// res.episode,
|
||||
// subtitleCallback,
|
||||
// callback
|
||||
// )
|
||||
// },
|
||||
{
|
||||
invokeSoraStream(
|
||||
res.title,
|
||||
res.year,
|
||||
res.season,
|
||||
res.episode,
|
||||
subtitleCallback,
|
||||
callback
|
||||
)
|
||||
},
|
||||
{
|
||||
invokeTwoEmbed(res.id, res.season, res.episode, subtitleCallback, callback)
|
||||
},
|
||||
|
|
|
@ -64,16 +64,16 @@ class SoraStreamLite : SoraStream() {
|
|||
subtitleCallback
|
||||
)
|
||||
},
|
||||
// {
|
||||
// invokeSoraStream(
|
||||
// res.title,
|
||||
// res.year,
|
||||
// res.season,
|
||||
// res.episode,
|
||||
// subtitleCallback,
|
||||
// callback
|
||||
// )
|
||||
// },
|
||||
{
|
||||
invokeSoraStream(
|
||||
res.title,
|
||||
res.year,
|
||||
res.season,
|
||||
res.episode,
|
||||
subtitleCallback,
|
||||
callback
|
||||
)
|
||||
},
|
||||
{
|
||||
if (!res.isAnime) invokeNinetv(
|
||||
res.id,
|
||||
|
|
Loading…
Reference in a new issue