mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add try catch :p
This commit is contained in:
		
							parent
							
								
									27c56031c3
								
							
						
					
					
						commit
						41f13176e6
					
				| @ -120,7 +120,8 @@ async function video(v) { | ||||
|       json: data?.video?.Player, | ||||
|       video: await fetch(`${config.tubeApi}video?v=${v}`) | ||||
|         .then((res) => res.text()) | ||||
|         .then((xml) => getJson(toJson(xml))), | ||||
|         .then((xml) => getJson(toJson(xml))) | ||||
|         .catch(" "), | ||||
|       vid, | ||||
|       comments, | ||||
|       engagement: data.engagement, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley