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