Fix VidSrc

This commit is contained in:
Blatzar 2022-09-23 20:53:19 +02:00
parent 52a300c1d7
commit 3fdb1849d5

View file

@ -2,7 +2,7 @@ package com.lagradost
import com.lagradost.cloudstream3.SubtitleFile import com.lagradost.cloudstream3.SubtitleFile
import com.lagradost.cloudstream3.TvType import com.lagradost.cloudstream3.TvType
//import com.lagradost.cloudstream3.extractors.VidSrcExtractor import com.lagradost.cloudstream3.extractors.VidSrcExtractor
import com.lagradost.cloudstream3.metaproviders.TmdbLink import com.lagradost.cloudstream3.metaproviders.TmdbLink
import com.lagradost.cloudstream3.metaproviders.TmdbProvider import com.lagradost.cloudstream3.metaproviders.TmdbProvider
import com.lagradost.cloudstream3.utils.AppUtils.parseJson import com.lagradost.cloudstream3.utils.AppUtils.parseJson
@ -24,6 +24,12 @@ class VidSrcProvider : TmdbProvider() {
// val extractor = VidSrcExtractor() // val extractor = VidSrcExtractor()
// } // }
override suspend fun extractorVerifierJob(extractorData: String?) {
if (extractorData == null) return
VidSrcExtractor.validatePass(extractorData)
}
override suspend fun loadLinks( override suspend fun loadLinks(
data: String, data: String,
isCasting: Boolean, isCasting: Boolean,