A feature-rich command-line audio/video downloader
If the file is already downloaded include the size in the progress hook
Jaime Marquínez Ferrándizdd5d2eb03c36
diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.pyindex 706592988f..d6673fd3ab 100644--- a/youtube_dl/FileDownloader.py+++ b/youtube_dl/FileDownloader.py@@ -398,6 +398,7 @@ class FileDownloader(object):self._hook_progress({'filename': filename,'status': 'finished',+ 'total_bytes': os.path.getsize(encodeFilename(filename)),})return True