forked from lolcat/4get
forgor to set headers
This commit is contained in:
parent
d3fe37e7b6
commit
8161f8e7b8
|
@ -57,7 +57,8 @@ class sc{
|
||||||
"Connection: keep-alive",
|
"Connection: keep-alive",
|
||||||
"Sec-Fetch-Dest: empty",
|
"Sec-Fetch-Dest: empty",
|
||||||
"Sec-Fetch-Mode: cors",
|
"Sec-Fetch-Mode: cors",
|
||||||
"Sec-Fetch-Site: same-site"]
|
"Sec-Fetch-Site: same-site",
|
||||||
|
"Priority: u=1"]
|
||||||
);
|
);
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
|
@ -433,7 +434,8 @@ class sc{
|
||||||
$this->get(
|
$this->get(
|
||||||
$proxy,
|
$proxy,
|
||||||
"https://soundcloud.com",
|
"https://soundcloud.com",
|
||||||
[]
|
[],
|
||||||
|
true
|
||||||
);
|
);
|
||||||
}catch(Exception $error){
|
}catch(Exception $error){
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue