Fetch last.fm song from bash

This script let you get a song from last.fm.

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


Posted

in

by

Tags: