mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-25 12:12:55 +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:
parent
9fb556eef0
commit
7e08072b8d
@ -62,6 +62,7 @@ class FragmentFD(FileDownloader):
|
||||
'frag_count': total_frags,
|
||||
'filename': ctx['filename'],
|
||||
'tmpfilename': ctx['tmpfilename'],
|
||||
'total_bytes': None,
|
||||
}
|
||||
|
||||
start = time.time()
|
||||
|
Loading…
Reference in New Issue
Block a user