small tweak in sora

This commit is contained in:
hexated 2022-12-06 15:50:52 +07:00
parent 002340c1d6
commit 330ed262d6
2 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 44
version = 45
cloudstream {

View file

@ -820,6 +820,15 @@ object SoraExtractor : SoraStream() {
it.seriesNo == (episode ?: 0)
}
json?.subtitlingList?.map { sub ->
subtitleCallback.invoke(
SubtitleFile(
sub.language ?: "",
sub.subtitlingUrl ?: return@map
)
)
}
json?.definitionList?.apmap { video ->
delay(1000)
app.get(
@ -840,15 +849,6 @@ object SoraExtractor : SoraStream() {
}
}
json?.subtitlingList?.map { sub ->
subtitleCallback.invoke(
SubtitleFile(
sub.language ?: "",
sub.subtitlingUrl ?: return@map
)
)
}
}
suspend fun invokeXmovies(