mirror of
https://github.com/Jacekun/cs3xxx-repo.git
synced 2024-08-14 23:57:09 +00:00
[Feature] Added VIP HD links to all in preparation for NNN
This commit is contained in:
parent
2d5ab87eeb
commit
8d94a47bdd
11 changed files with 131 additions and 13 deletions
|
@ -11,6 +11,7 @@ import com.lagradost.cloudstream3.utils.getQualityFromName
|
|||
import com.fasterxml.jackson.module.kotlin.readValue
|
||||
import com.lagradost.cloudstream3.network.CloudflareKiller
|
||||
import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson
|
||||
import com.lagradost.cloudstream3.utils.Qualities
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.*
|
||||
import kotlin.collections.ArrayList
|
||||
|
@ -278,6 +279,17 @@ class Hanime : 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
|
||||
)
|
||||
)
|
||||
val res = app.get(data).text
|
||||
val response = tryParseJson<HanimeEpisodeData>(res)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue