mirror of
https://github.com/l1ving/youtube-dl
synced 2026-06-06 15:14:38 +08:00
[downloader/fragment] Set 'total_bytes' in progress hook to None
To be consistent with progress hook documentation. Fixes #8711
This commit is contained in:
@@ -62,6 +62,7 @@ class FragmentFD(FileDownloader):
|
||||
'frag_count': total_frags,
|
||||
'filename': ctx['filename'],
|
||||
'tmpfilename': ctx['tmpfilename'],
|
||||
'total_bytes': None,
|
||||
}
|
||||
|
||||
start = time.time()
|
||||
|
||||
Reference in New Issue
Block a user