This commit is contained in:
lolcat 2025-08-04 00:37:12 -04:00
parent 706b490bf3
commit 9afef55d89
1 changed files with 13 additions and 8 deletions

View File

@ -667,14 +667,19 @@ 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);
if($json === null){