From bd8b0c3cca7c03c6e70b7526af5bb98759ef43ac Mon Sep 17 00:00:00 2001 From: javalsai Date: Mon, 17 Mar 2025 18:50:37 +0100 Subject: [PATCH] fix: patch spotify token, manual scrape for now --- spotify/get-tokens.sh | 54 ++++++++++++++++++++++++++++--------------- 1 file changed, 36 insertions(+), 18 deletions(-) diff --git a/spotify/get-tokens.sh b/spotify/get-tokens.sh index 175c9a7..26ae77c 100755 --- a/spotify/get-tokens.sh +++ b/spotify/get-tokens.sh @@ -1,25 +1,43 @@ #!/usr/bin/env bash set -eu -BEARER_TOKEN_RES=$( - curl -sL https://open.spotify.com/ \ - | grep 'id="session"' \ - | sed 's&.*