Change to `from urlparse import urlparse`. No need to acquire via `urllib2`.