Switch to `urllib2`. Sometimes `urllib` returns `None` when calling `getcode()`

Switch to `urllib2`. Sometimes `urllib` returns `None` when calling `getcode()`