From addc5a14a93547f630f23e5b6a79cffa2e37d71a Mon Sep 17 00:00:00 2001 From: lolcat Date: Sat, 17 Feb 2024 23:22:19 -0500 Subject: boobs --- scraper/sc.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'scraper/sc.php') diff --git a/scraper/sc.php b/scraper/sc.php index 02cf087..23742f1 100644 --- a/scraper/sc.php +++ b/scraper/sc.php @@ -16,7 +16,7 @@ class sc{ "option" => [ "any" => "Any type", "track" => "Tracks", - "people" => "People", + "author" => "People", "album" => "Albums", "playlist" => "Playlists", "goplus" => "Go+ Tracks" @@ -143,7 +143,7 @@ class sc{ ]; break; - case "people": + case "author": $url = "https://api-v2.soundcloud.com/search/users"; $params = [ "q" => $search, @@ -237,7 +237,10 @@ class sc{ "npt" => null, "song" => [], "playlist" => [], - "author" => [] + "album" => [], + "podcast" => [], + "author" => [], + "user" => [] ]; /* @@ -346,7 +349,7 @@ class sc{ if(stripos($item["monetization_model"], "TIER") === false){ $stream = [ - "endpoint" => "audio_sc", + "endpoint" => "sc", "url" => $item["media"]["transcodings"][0]["url"] . "?client_id=" . config::SC_CLIENT_TOKEN . -- cgit v1.2.3