added source to SoraExtractor

This commit is contained in:
hexated 2022-10-17 12:02:24 +07:00
parent d7cc3c15f2
commit 84911922a9

View file

@ -213,9 +213,6 @@ open class SoraStream : TmdbProvider() {
).parsedSafe<LoadLinks>()
argamap(
{
invokeTwoEmbed(res.id, res.season, res.episode, subtitleCallback, callback)
},
{
if (json?.sources.isNullOrEmpty()) {
invokeLocalSources(referer, subtitleCallback, callback)
@ -244,6 +241,9 @@ open class SoraStream : TmdbProvider() {
}
}
},
{
invokeTwoEmbed(res.id, res.season, res.episode, subtitleCallback, callback)
},
{
invokeVidSrc(res.id, res.season, res.episode, subtitleCallback, callback)
},