python3 compatibility

removed unused urlparse import