forked from recloudstream/cloudstream
		
	fix duplicate links
This commit is contained in:
		
							parent
							
								
									47de7ed864
								
							
						
					
					
						commit
						e0925cfded
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -174,7 +174,7 @@ class AkwamProvider : MainAPI() { | |||
| 
 | ||||
|         val links = doc.select("div.tab-content.quality").map { | ||||
|             val quality = getQualityFromId(it.attr("id").getIntFromText()) | ||||
|             doc.select(".col-lg-6 > a").map { linkElement -> | ||||
|             it.select(".col-lg-6 > a").map { linkElement -> | ||||
|                 linkElement.attr("href") to quality | ||||
|                 // Only uses the download links, primarily to prevent unnecessary duplicate requests. | ||||
|             }.filter { link -> link.first.contains("/link/") } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue