mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Update vtbe.kt
This commit is contained in:
parent
04e38b285b
commit
6c99c4624a
1 changed files with 0 additions and 2 deletions
|
@ -21,9 +21,7 @@ open class vtbe : ExtractorApi() {
|
|||
|
||||
override suspend fun getUrl(url: String, referer: String?): List<ExtractorLink>? {
|
||||
val response = app.get(url,referer=mainUrl).document
|
||||
//println(response)
|
||||
val extractedpack =response.selectFirst("script:containsData(function(p,a,c,k,e,d))")?.data().toString()
|
||||
//val unpacked= getAndUnpack(extractedpack)
|
||||
println(extractedpack)
|
||||
JsUnpacker(extractedpack).unpack()?.let { unPacked ->
|
||||
Regex("sources:\\[\\{file:\"(.*?)\"").find(unPacked)?.groupValues?.get(1)?.let { link ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue