Updating to Python3 - Updating imports for urllib and urlparse.