feat: --download-chunk
Also bump to 2.2.9
This commit is contained in:
@ -35,6 +35,7 @@ async def _download_file(file_url: str, file_name: str, file_path: Path | str, f
|
||||
}
|
||||
else:
|
||||
await file_path.touch()
|
||||
print(f"Downloading {file_url} to {file_path}...")
|
||||
async with aiohttp.ClientSession() as session:
|
||||
rsp = await session.get(file_url, headers=headers, timeout=None)
|
||||
if rsp.status == 416:
|
||||
|
||||
Reference in New Issue
Block a user