Switching to the urllib2 library

A bit more flexible for our uses.