Timur Izhbulatov — Independent Electronic Music

Python urllib2 exceptions

Sun, 17 May 2009 11:53:00 in Tech stuff | permalink

last.fm python urllib2

Yesterday I made a working prototype of my Last.fm stream ripper written in Python. This is my second project that relatively intensively uses urllib2 from Python standard library.

One of important things that I've learned about urllib2.urlopen() from my previous project is that it does raise some other exceptions besides urllib2.URLError (e.g. http.HTTPException and socket.error) which is the only one mentioned in the documentation.

(Read more...)

Last.fm tag renaming utility update

Fri, 15 Aug 2008 16:35:00 in Tech stuff | permalink

last.fm python tagging

I've updated my Last.fm tag renaming utility.

(Read more...)

Fixing Last.fm tags using Python standard library

Mon, 22 Jan 2007 in Tech stuff | permalink

htmlparser httplib last.fm python tagging xml-rpc

Updated 2008-08-15. Works with new Last.fm.

I've written a Python program for renaming tags on Last.fm.

(Read more...)