Return to Snippet

Revision: 39993
at January 24, 2011 19:18 by Sn0opy


Initial Code
curl -s http://www.last.fm/user/$LASTFMUSER | grep -A 1 subjectCell | sed -e 's#<[^>]*>##g' | head -n2 | tail -n1 | sed 's/^[[:space:]]*//g'

Initial URL

                                

Initial Description
This script fetches the current playing song of user XY

Initial Title
Fetch last.fm song from bash

Initial Tags
curl, Bash

Initial Language
Bash