From 8161f8e7b8b236892a2254b8876fe4363b33050b Mon Sep 17 00:00:00 2001 From: lolcat Date: Sat, 29 Jun 2024 17:58:05 -0400 Subject: [PATCH] forgor to set headers --- scraper/sc.php | 6 ++++-- 1 file 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){