mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
sora bump
This commit is contained in:
parent
03d3731979
commit
2752abaf31
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
import org.jetbrains.kotlin.konan.properties.Properties
|
import org.jetbrains.kotlin.konan.properties.Properties
|
||||||
|
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 132
|
version = 133
|
||||||
|
|
||||||
android {
|
android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
|
|
|
@ -916,7 +916,7 @@ object SoraExtractor : SoraStream() {
|
||||||
val episodeId = app.get("$zoroAPI/ajax/v2/episode/list/${id ?: return@apmap}")
|
val episodeId = app.get("$zoroAPI/ajax/v2/episode/list/${id ?: return@apmap}")
|
||||||
.parsedSafe<ZoroResponses>()?.html?.let {
|
.parsedSafe<ZoroResponses>()?.html?.let {
|
||||||
Jsoup.parse(it)
|
Jsoup.parse(it)
|
||||||
}?.select("div.ss-list a")?.find { it.attr("data-number") == "$episode" }
|
}?.select("div.ss-list a")?.find { it.attr("data-number") == "${episode ?: 1}" }
|
||||||
?.attr("data-id")
|
?.attr("data-id")
|
||||||
|
|
||||||
val servers = app.get("$zoroAPI/ajax/v2/episode/servers?episodeId=${episodeId ?: return@apmap}")
|
val servers = app.get("$zoroAPI/ajax/v2/episode/servers?episodeId=${episodeId ?: return@apmap}")
|
||||||
|
@ -1493,7 +1493,7 @@ object SoraExtractor : SoraStream() {
|
||||||
"Hunter x Hunter" -> it.season_number == 5
|
"Hunter x Hunter" -> it.season_number == 5
|
||||||
else -> it.season_number == season
|
else -> it.season_number == season
|
||||||
}
|
}
|
||||||
}
|
} ?: s.find { it.season_number?.plus(1) == season }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val seasonId = seasonIdData?.versions?.filter { it.audio_locale in audioLocal }
|
val seasonId = seasonIdData?.versions?.filter { it.audio_locale in audioLocal }
|
||||||
|
|
Loading…
Reference in a new issue