Python3 does not have urlparse
Remove unused import