diff --git a/common/manifest_down.py b/common/manifest_down.py index 13323f9..16bb1da 100644 --- a/common/manifest_down.py +++ b/common/manifest_down.py @@ -22,7 +22,7 @@ async def get(sha, path, repo, session): chunk_size = 1024 content = bytearray() - with tqdm_asyncio(total=total_size, unit='B', unit_scale=True, desc=f'下载 {path}') as pbar: + with tqdm_asyncio(total=total_size, unit='B', unit_scale=True, desc=f'🟢 下载 {path}', bar_format="{l_bar}{bar} [{n_fmt}/{total_fmt}] {postfix}") as pbar: async for chunk in r.content.iter_chunked(chunk_size): content.extend(chunk) pbar.update(len(chunk))