mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2026-01-06 18:55:28 -05:00
aaaaaa
This commit is contained in:
parent
706b490bf3
commit
9afef55d89
1 changed files with 13 additions and 8 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue