Compare commits

..

No commits in common. "cb4976223045131ff26ac2db2918fbfd5e79d3a7" and "41c16371fb4f0e1c7c177c0b2e6703344e2755a3" have entirely different histories.

View file

@ -27,8 +27,16 @@ open class Vidguardto : ExtractorApi() {
subtitleCallback: (SubtitleFile) -> Unit,
callback: (ExtractorLink) -> Unit
) {
val res = app.get(url)
val resc = res.document.select("script:containsData(eval)").firstOrNull()?.data()
val client = OkHttpClient()
val request = Request.Builder()
.url(url)
.build()
val response = client.newCall(request).execute()
val result = Jsoup.parse(response.body.string())
val resc = result.select("script:containsData(eval)").firstOrNull()?.data()
resc?.let {
val jsonStr2 = AppUtils.parseJson<SvgObject>(runJS2(it))
val watchlink = sigDecode(jsonStr2.stream)