mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add region :3
This commit is contained in:
		
							parent
							
								
									252dafaca3
								
							
						
					
					
						commit
						3bc2f34856
					
				| @ -81,7 +81,7 @@ async function video(v) { | ||||
|   var desc = ""; | ||||
|   | ||||
|   try { | ||||
|     var inv_comments = await fetch(`${config.invapi}/comments/${v}`).then( | ||||
|     var inv_comments = await fetch(`${config.invapi}/comments/${v}?region=US`).then( | ||||
|       (res) => res.text() | ||||
|     ); | ||||
| 
 | ||||
| @ -93,7 +93,7 @@ async function video(v) { | ||||
|   let vid; | ||||
| 
 | ||||
|       try { | ||||
|       const videoInfo = await fetch(`https://yt.oelrichsgarcia.de/api/v1/videos/${v}`).then(res => res.text()); | ||||
|       const videoInfo = await fetch(`https://yt.oelrichsgarcia.de/api/v1/videos/${v}?region=US`).then(res => res.text()); | ||||
|       vid = await getJson(videoInfo); | ||||
|      } catch (error) { | ||||
|         | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley