In Py3, urlparse is urllib.parse