diff --git a/spotify_followed_artists.sh b/spotify_followed_artists.sh index 805eab19..181e138f 100755 --- a/spotify_followed_artists.sh +++ b/spotify_followed_artists.sh @@ -54,6 +54,6 @@ spotify_token while not_null "$url_path"; do output="$("$srcdir/spotify_api.sh" "$url_path" "$@")" die_if_error_field "$output" - url_path="$(get_next "$output")" + url_path="$(jq -r .artists.next <<< "$output")" output done