aaaaaa
This commit is contained in:
		
							parent
							
								
									706b490bf3
								
							
						
					
					
						commit
						9afef55d89
					
				| @ -667,13 +667,18 @@ class vimeo{ | ||||
| 			$jwt = $jwt["jwt"]; | ||||
| 			*/ | ||||
| 			 | ||||
| 			$json = | ||||
| 				$this->get( | ||||
| 					$proxy, | ||||
| 					"https://vimeo.com/_next/jwt", | ||||
| 					[], | ||||
| 					false | ||||
| 				); | ||||
| 			try{ | ||||
| 				$json = | ||||
| 					$this->get( | ||||
| 						$proxy, | ||||
| 						"https://vimeo.com/_next/jwt", | ||||
| 						[], | ||||
| 						false | ||||
| 					); | ||||
| 			}catch(Exception $error){ | ||||
| 				 | ||||
| 				throw new Exception("Failed to fetch JWT token"); | ||||
| 			} | ||||
| 				 | ||||
| 			$json = json_decode($json, true); | ||||
| 			 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 lolcat
						lolcat