diff options
author | lolcat <will@lolcat.ca> | 2024-06-29 17:58:05 -0400 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2024-06-29 17:58:05 -0400 |
commit | 8161f8e7b8b236892a2254b8876fe4363b33050b (patch) | |
tree | 9963fc3d55b714f12d6b43fc2ed65cd506d42df4 | |
parent | d3fe37e7b62d825862f7fbfc75affa0ec19b153d (diff) |
forgor to set headers
-rw-r--r-- | scraper/sc.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scraper/sc.php b/scraper/sc.php index c435c78..011293a 100644 --- a/scraper/sc.php +++ b/scraper/sc.php @@ -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){ |