silly silly fix

This commit is contained in:
RowdyRushya 2024-04-24 21:08:11 -07:00 committed by GitHub
parent ce3359c0fa
commit aa522c8052
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ class VidSrcTo : ExtractorApi() {
if (res?.status != 200) return
res.result?.amap { source ->
val embedRes = app.get("$mainUrl/ajax/embed/source/${source.id}").parsedSafe<VidsrctoEmbedSource>() ?: return@amap
val finalUrl = DecryptUrl(embedRes?.result?.encUrl)
val finalUrl = DecryptUrl(embedRes.result.encUrl)
when (source.title) {
"Vidplay" -> AnyVidplay(finalUrl.substringBefore("/e/")).getUrl(finalUrl, referer, subtitleCallback, callback)
"Filemoon" -> FileMoon().getUrl(finalUrl, referer, subtitleCallback, callback)