summaryrefslogtreecommitdiff
path: root/scraper
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-09-04 00:44:04 -0400
committerlolcat <will@lolcat.ca>2023-09-04 00:44:04 -0400
commit38b97a26e5e4a9c432081f8823d858e64ad6af68 (patch)
treee32b9c924377aa0c434d4ee03f0fc13f52442f6c /scraper
parentd90d81662a9afaa0b93ac422ef1e885835caf1e3 (diff)
accidently broke news
Diffstat (limited to 'scraper')
-rw-r--r--scraper/sc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scraper/sc.php b/scraper/sc.php
index 88d4dab..f297723 100644
--- a/scraper/sc.php
+++ b/scraper/sc.php
@@ -260,7 +260,7 @@ class sc{
$out["author"][] = [
"title" => $item["username"],
"followers" => $item["followers_count"],
- "description" => $item["track_count"] . " songs. " . $this->limitstrlen($item["description"]),
+ "description" => trim($item["track_count"] . " songs. " . $this->limitstrlen($item["description"])),
"thumb" => [
"url" => $item["avatar_url"],
"ratio" => "1:1"