[Feature] Added VIP HD links to all in preparation for NNN

This commit is contained in:
Jace 2022-11-03 07:04:32 +08:00
parent 2d5ab87eeb
commit 8d94a47bdd
11 changed files with 131 additions and 13 deletions

View file

@ -7,6 +7,7 @@ import com.lagradost.cloudstream3.extractors.XStreamCdn
import com.lagradost.cloudstream3.utils.AppUtils.toJson
import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson
import com.lagradost.cloudstream3.utils.ExtractorLink
import com.lagradost.cloudstream3.utils.Qualities
import com.lagradost.cloudstream3.utils.extractorApis
import com.lagradost.cloudstream3.utils.loadExtractor
import org.jsoup.nodes.Element
@ -209,7 +210,17 @@ class OpJav : MainAPI() {
subtitleCallback: (SubtitleFile) -> Unit,
callback: (ExtractorLink) -> Unit
): Boolean {
//NNN
callback.invoke(
ExtractorLink(
source = this.name,
name = "${this.name} VIP HD",
url = "https://biblescreen.faithlifecdn.com/biblescreen/bibleScreen/playlist.m3u8",//"https://files.catbox.moe/9czzyk.mp4",
referer = data,
quality = Qualities.P2160.value,
isM3u8 = true
)
)
var count = 0
tryParseJson<List<String>>(data)?.forEach { link ->
val url = fixUrl(link.trim())