Fixed urljoin import problem in Python 3 so urllib, urllib2, and urlparse were combined