mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
sora: fix build
This commit is contained in:
parent
0cdada7e05
commit
18690c1cd9
1 changed files with 0 additions and 105 deletions
|
@ -2023,7 +2023,6 @@ object SoraExtractor : SoraStream() {
|
||||||
|
|
||||||
val link =
|
val link =
|
||||||
"https://api.$worker.workers.dev/download.aspx?file=$encryptedId&expiry=$encryptedExpiry&mac=$hmacSign"
|
"https://api.$worker.workers.dev/download.aspx?file=$encryptedId&expiry=$encryptedExpiry&mac=$hmacSign"
|
||||||
// if (!app.get(link, referer = "$baymoviesAPI/").isSuccessful) return@apmap null
|
|
||||||
val size = file.size?.toDouble() ?: return@apmap null
|
val size = file.size?.toDouble() ?: return@apmap null
|
||||||
val sizeFile = "%.2f GB".format(bytesToGigaBytes(size))
|
val sizeFile = "%.2f GB".format(bytesToGigaBytes(size))
|
||||||
val tags = Regex("\\d{3,4}[pP]\\.?(.*?)\\.(mkv|mp4)").find(
|
val tags = Regex("\\d{3,4}[pP]\\.?(.*?)\\.(mkv|mp4)").find(
|
||||||
|
@ -2049,26 +2048,6 @@ object SoraExtractor : SoraStream() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
suspend fun invokeJsmovies(
|
|
||||||
apiUrl: String,
|
|
||||||
api: String,
|
|
||||||
title: String? = null,
|
|
||||||
year: Int? = null,
|
|
||||||
season: Int? = null,
|
|
||||||
episode: Int? = null,
|
|
||||||
callback: (ExtractorLink) -> Unit,
|
|
||||||
) {
|
|
||||||
invokeIndex(
|
|
||||||
apiUrl,
|
|
||||||
api,
|
|
||||||
title,
|
|
||||||
year,
|
|
||||||
season,
|
|
||||||
episode,
|
|
||||||
callback,
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
suspend fun invokeBlackmovies(
|
suspend fun invokeBlackmovies(
|
||||||
apiUrl: String,
|
apiUrl: String,
|
||||||
api: String,
|
api: String,
|
||||||
|
@ -2089,86 +2068,6 @@ object SoraExtractor : SoraStream() {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
suspend fun invokeGammovies(
|
|
||||||
apiUrl: String,
|
|
||||||
api: String,
|
|
||||||
title: String? = null,
|
|
||||||
year: Int? = null,
|
|
||||||
season: Int? = null,
|
|
||||||
episode: Int? = null,
|
|
||||||
callback: (ExtractorLink) -> Unit,
|
|
||||||
) {
|
|
||||||
invokeIndex(
|
|
||||||
apiUrl,
|
|
||||||
api,
|
|
||||||
title,
|
|
||||||
year,
|
|
||||||
season,
|
|
||||||
episode,
|
|
||||||
callback,
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
suspend fun invokeChillmovies0(
|
|
||||||
apiUrl: String,
|
|
||||||
api: String,
|
|
||||||
title: String? = null,
|
|
||||||
year: Int? = null,
|
|
||||||
season: Int? = null,
|
|
||||||
episode: Int? = null,
|
|
||||||
callback: (ExtractorLink) -> Unit,
|
|
||||||
) {
|
|
||||||
invokeIndex(
|
|
||||||
apiUrl,
|
|
||||||
api,
|
|
||||||
title,
|
|
||||||
year,
|
|
||||||
season,
|
|
||||||
episode,
|
|
||||||
callback,
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
suspend fun invokeChillmovies1(
|
|
||||||
apiUrl: String,
|
|
||||||
api: String,
|
|
||||||
title: String? = null,
|
|
||||||
year: Int? = null,
|
|
||||||
season: Int? = null,
|
|
||||||
episode: Int? = null,
|
|
||||||
callback: (ExtractorLink) -> Unit,
|
|
||||||
) {
|
|
||||||
invokeIndex(
|
|
||||||
apiUrl,
|
|
||||||
api,
|
|
||||||
title,
|
|
||||||
year,
|
|
||||||
season,
|
|
||||||
episode,
|
|
||||||
callback,
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
suspend fun invokeXtrememovies(
|
|
||||||
apiUrl: String,
|
|
||||||
api: String,
|
|
||||||
title: String? = null,
|
|
||||||
year: Int? = null,
|
|
||||||
season: Int? = null,
|
|
||||||
episode: Int? = null,
|
|
||||||
callback: (ExtractorLink) -> Unit,
|
|
||||||
) {
|
|
||||||
invokeIndex(
|
|
||||||
apiUrl,
|
|
||||||
api,
|
|
||||||
title,
|
|
||||||
year,
|
|
||||||
season,
|
|
||||||
episode,
|
|
||||||
callback,
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
suspend fun invokeRinzrymovies(
|
suspend fun invokeRinzrymovies(
|
||||||
apiUrl: String,
|
apiUrl: String,
|
||||||
api: String,
|
api: String,
|
||||||
|
@ -3107,10 +3006,6 @@ data class TgarData(
|
||||||
@JsonProperty("documents") val documents: ArrayList<TgarMedia>? = arrayListOf(),
|
@JsonProperty("documents") val documents: ArrayList<TgarMedia>? = arrayListOf(),
|
||||||
)
|
)
|
||||||
|
|
||||||
data class Gdflix(
|
|
||||||
@JsonProperty("url") val url: String
|
|
||||||
)
|
|
||||||
|
|
||||||
data class SorastreamResponse(
|
data class SorastreamResponse(
|
||||||
@JsonProperty("data") val data: SorastreamVideos? = null,
|
@JsonProperty("data") val data: SorastreamVideos? = null,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue