mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 20:57:25 +08:00
do not test 'eta' in status
This commit is contained in:
parent
5be178bd1e
commit
6c5b7e5885
@ -341,8 +341,7 @@ class F4mFD(FileDownloader):
|
|||||||
toplevel_status['total_bytes'] = total_bytes
|
toplevel_status['total_bytes'] = total_bytes
|
||||||
if 'speed' in status:
|
if 'speed' in status:
|
||||||
toplevel_status['speed'] = status['speed']
|
toplevel_status['speed'] = status['speed']
|
||||||
if 'eta' in status:
|
toplevel_status['eta'] = eta
|
||||||
toplevel_status['eta'] = eta
|
|
||||||
self._hook_progress(toplevel_status)
|
self._hook_progress(toplevel_status)
|
||||||
|
|
||||||
http_dl.add_progress_hook(frag_progress_hook)
|
http_dl.add_progress_hook(frag_progress_hook)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user