mirror of
				https://github.com/recloudstream/cloudstream.git
				synced 2024-08-15 01:53:11 +00:00 
			
		
		
		
	removed unnecessary check from tenshiprovider
This commit is contained in:
		
							parent
							
								
									4d40e1d9b2
								
							
						
					
					
						commit
						0c97ad0458
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -165,7 +165,7 @@ class TenshiProvider : MainAPI() { | |||
|         var document = Jsoup.parse(response.text) | ||||
|         val returnValue = parseSearchPage(document) | ||||
| 
 | ||||
|         while (document.select("""a.page-link[rel="next"]""") != null && !document.select("""a.page-link[rel="next"]""").isEmpty()) { | ||||
|         while (!document.select("""a.page-link[rel="next"]""").isEmpty()) { | ||||
|             val link = document.select("""a.page-link[rel="next"]""") | ||||
|             if (link != null && !link.isEmpty()) { | ||||
|                 response = khttp.get(link[0].attr("href"), cookies=mapOf("loop-view" to "thumb")) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue