satisfy python's urllib2