This is a part of engine open-sourced from http://musictrack.me - a website which tracks your last.fm library (scrobbles) and then creates a structured log based on date's of your new artist discoveries. Moreover, it does some data search, so you have an instant access to news/blogs/social networks and all the other buzz surrounding your new music discovery
If you put this script to your cron, it will periodically make a diff out of your last.fm profile, check for basic facts (genre, wikipedia article + Twitter profile) from new artists and it will email to you a message right away.
You just need to edit these variables:
init_user - your last.fm username
api_key - your API key
you - your email address for notification delivery
Here is an example of an output text related to my last.fm profile.
You have following new artists in your last.fm library:
Megadeth - http://en.wikipedia.org/wiki/Megadeth :: @Megadeth
Iron Maiden - http://en.wikipedia.org/wiki/Iron_Maiden :: @IronMaiden
Nightwish - http://en.wikipedia.org/wiki/Nightwish :: @NightwishBand
For much more closer info (news, blogs, social networks profiles, images/videos, etc..) and automatic weekly reports with some more artist background data, visit the service at http://musictrack.me
MusicTrack.me on web: http://musictrack.me
Follow MusicTrack.me on Twitter: http://twitter.com/musictrack_me