mirror of
				https://github.com/yoyzo/arab
				synced 2024-08-15 03:15:00 +00:00 
			
		
		
		
	fix akwam
This commit is contained in:
		
							parent
							
								
									932e351ff9
								
							
						
					
					
						commit
						2d40f4146f
					
				
					 2 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
version = 1
 | 
			
		||||
version = 2
 | 
			
		||||
 | 
			
		||||
cloudstream {
 | 
			
		||||
    description = ""
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -77,9 +77,7 @@ class Akwam : MainAPI() {
 | 
			
		|||
 | 
			
		||||
    override suspend fun load(url: String): LoadResponse {
 | 
			
		||||
        val doc = app.get(url).document
 | 
			
		||||
        val mesEl = doc.select("#downloads > h2 > span").isNotEmpty()
 | 
			
		||||
        val mesSt = if(mesEl) true else false
 | 
			
		||||
        val isMovie = mesSt//url.contains("/movie/")
 | 
			
		||||
        val isMovie = doc.select("#downloads > h2 > span").isNotEmpty()//url.contains("/movie/")
 | 
			
		||||
        val title = doc.select("h1.entry-title").text()
 | 
			
		||||
        val posterUrl = doc.select("picture > img").attr("src")
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue