$ curl -s https://gist.githubusercontent.com/rodolfo42/c4a04cb5757ffb4bac1a02db54a5fa07/raw/f90e69d91f01f4096d7dc4556f810a3853efde27/spotifynowplaying.sh > ~/spotifynowplaying.sh
Change URL
to some dontpad.com url (it's a simple persistent textarea in the cloud)
URL=http://dontpad.com/some-url
$ chmod ugo+x ~/spotifynowplaying.sh
$ ~/spotifynowplaying.sh
To run in the background
$ ~/spotifynowplaying.sh > /dev/null &
Adapted from: https://gist.github.com/jgamblin/9701ed50398d138c65ead316b5d11b26