#!/usr/bin/env bash set -eu if [[ -z "${BEARER_TOKEN:-}" ]]; then printf "Atempting to scrape a bearer token...\n" BEARER_TOKEN_RES=$( curl -sL https://open.spotify.com/ \ | grep 'id="session"' \ | sed 's&.*