Update downloader.py

fixed bug