Fix missing urlparse import