mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	fix dislikes lel
This commit is contained in:
		
							parent
							
								
									ece94d7d7a
								
							
						
					
					
						commit
						c01a198536
					
				| @ -33,10 +33,8 @@ function getJson(str) { | ||||
|   } | ||||
| } | ||||
| 
 | ||||
|   const dislike = await fetch(`${dislike_api}${video_id}`).then((res) => | ||||
|     res.json() | ||||
|   ); | ||||
| 
 | ||||
|   const dislike = await fetch(`${dislike_api}${video_id}`) | ||||
|   const engagement = getJson(dislike) | ||||
|   | ||||
|   const headers = {}; | ||||
|   /* | ||||
| @ -55,7 +53,7 @@ function getJson(str) { | ||||
|    */ | ||||
|   const returner = { | ||||
|     video: await parsexml(video_id), | ||||
|     engagement: dislike, | ||||
|     engagement, | ||||
|     video_url_youtube: `${youtube_url}${video_id}`, | ||||
|   }; | ||||
|   return returner; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley