mirror of
				https://github.com/hexated/cloudstream-extensions-hexated.git
				synced 2024-08-15 00:03:22 +00:00 
			
		
		
		
	forgor
This commit is contained in:
		
							parent
							
								
									d587217d0b
								
							
						
					
					
						commit
						07f7d701bd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -177,7 +177,7 @@ class Loklok : MainAPI() { | |||
|         val animeType = if(type == TvType.Anime && data.category == 0) "movie" else "tv" | ||||
| 
 | ||||
|         val malId = if(type == TvType.Anime) { | ||||
|             app.get("${jikanAPI}/anime?q=${res.name}&start_date=${res.year}&type=$animeType") | ||||
|             app.get("${jikanAPI}/anime?q=${res.name}&start_date=${res.year}&type=$animeType&limit=1") | ||||
|                 .parsedSafe<JikanResponse>()?.data?.firstOrNull()?.mal_id | ||||
|         } else { | ||||
|             null | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue