forgor to set headers

This commit is contained in:
lolcat 2024-06-29 17:58:05 -04:00
parent d3fe37e7b6
commit 8161f8e7b8
1 changed files with 4 additions and 2 deletions

View File

@ -57,7 +57,8 @@ class sc{
"Connection: keep-alive",
"Sec-Fetch-Dest: empty",
"Sec-Fetch-Mode: cors",
"Sec-Fetch-Site: same-site"]
"Sec-Fetch-Site: same-site",
"Priority: u=1"]
);
}else{
@ -433,7 +434,8 @@ class sc{
$this->get(
$proxy,
"https://soundcloud.com",
[]
[],
true
);
}catch(Exception $error){