fix build

This commit is contained in:
hexated 2023-01-12 12:00:45 +07:00
parent e1962c1dfa
commit 730556f5de

View file

@ -855,9 +855,9 @@ object SoraExtractor : SoraStream() {
"$vipAPI/movieDrama/get?id=${id}&category=${type}", "$vipAPI/movieDrama/get?id=${id}&category=${type}",
headers = headers headers = headers
).parsedSafe<Load>()?.data ).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) it.seriesNo == (episode ?: 0)
} }