mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-26 17:32:51 +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,
|
'frag_count': total_frags,
|
||||||
'filename': ctx['filename'],
|
'filename': ctx['filename'],
|
||||||
'tmpfilename': ctx['tmpfilename'],
|
'tmpfilename': ctx['tmpfilename'],
|
||||||
|
'total_bytes': None,
|
||||||
}
|
}
|
||||||
|
|
||||||
start = time.time()
|
start = time.time()
|
||||||
|
Loading…
Reference in New Issue
Block a user