fix build

This commit is contained in:
hexated 2023-01-12 12:00:45 +07:00
parent e1962c1dfa
commit 730556f5de
1 changed files with 2 additions and 2 deletions

View File

@ -855,9 +855,9 @@ object SoraExtractor : SoraStream() {
"$vipAPI/movieDrama/get?id=${id}&category=${type}",
headers = headers
).parsedSafe<Load>()?.data
?: return invokeNetMovies(id, type, episode, subtitleCallback, callback)
if (jsonResponse == null) invokeNetMovies(id, type, episode, subtitleCallback, callback)
val json = jsonResponse?.episodeVo?.find {
val json = jsonResponse.episodeVo?.find {
it.seriesNo == (episode ?: 0)
}