added greppr support also btw im not dead
This commit is contained in:
parent
f8d46df1e8
commit
0d98d7839d
14 changed files with 469 additions and 28 deletions
|
@ -398,12 +398,17 @@ class sc{
|
|||
|
||||
if($token === false){
|
||||
|
||||
$js =
|
||||
$this->get(
|
||||
$proxy,
|
||||
"https://a-v2.sndcdn.com/assets/1-c3e4038d.js",
|
||||
[]
|
||||
);
|
||||
try{
|
||||
$js =
|
||||
$this->get(
|
||||
$proxy,
|
||||
"https://a-v2.sndcdn.com/assets/1-c3e4038d.js",
|
||||
[]
|
||||
);
|
||||
}catch(Exception $error){
|
||||
|
||||
throw new Exception("Failed to fetch search token");
|
||||
}
|
||||
|
||||
preg_match(
|
||||
'/client_id=([^"]+)/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue