Ok, I'll refactor it next time I encounter a urllib2 related error.