removed printlns
This commit is contained in:
parent
e4226ee913
commit
039d4a6d05
1 changed files with 1 additions and 3 deletions
|
@ -129,10 +129,8 @@ class GateAnime : MainAPI() {
|
||||||
).apmap {
|
).apmap {
|
||||||
val id = it.attr("data-tplayernv")
|
val id = it.attr("data-tplayernv")
|
||||||
val iframeLink = doc.select("div#$id").html().replace(".*src=\"|\".*|#038;|amp;".toRegex(), "").replace("<noscript>.*".toRegex(),"")
|
val iframeLink = doc.select("div#$id").html().replace(".*src=\"|\".*|#038;|amp;".toRegex(), "").replace("<noscript>.*".toRegex(),"")
|
||||||
println("iframeLink: $iframeLink")
|
|
||||||
var sourceUrl = app.get(iframeLink).document.select("iframe").attr("src")
|
var sourceUrl = app.get(iframeLink).document.select("iframe").attr("src")
|
||||||
if(sourceUrl.contains("ok.ru")) sourceUrl = "https:" + sourceUrl
|
if(sourceUrl.contains("ok.ru")) sourceUrl = "https:" + sourceUrl
|
||||||
println(sourceUrl)
|
|
||||||
loadExtractor(sourceUrl, data, subtitleCallback, callback)
|
loadExtractor(sourceUrl, data, subtitleCallback, callback)
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in a new issue