Tag Archives: screen scrape

BeautifulSoup: Last.fm Artist Image

A coworker had been working with Last.fm and libnotify to send him a notification when a friend listens to a song so that he can decide if he’d be interested in listening to it. To grab the artist’s image he used a complex regular expression that was prone to error. I thought it [...]