added missing import urlparse in downloader.py