Merge branch 'master' of https://github.com/ImZaw/cloudstream-extensions-arabic
This commit is contained in:
		
						commit
						0e3c81ce5d
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -129,12 +129,10 @@ class GateAnime : MainAPI() {
 | 
			
		|||
        ).apmap {
 | 
			
		||||
                val id = it.attr("data-tplayernv")
 | 
			
		||||
                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")
 | 
			
		||||
                if(sourceUrl.contains("ok.ru")) sourceUrl = "https:" + sourceUrl
 | 
			
		||||
                println(sourceUrl)
 | 
			
		||||
                loadExtractor(sourceUrl, data, subtitleCallback, callback)
 | 
			
		||||
            }
 | 
			
		||||
        return true
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue