@@ -157,7 +157,7 @@ async def download_video(file_path, platform, video_url, download_type="video"):
# 以1MB为单位分块下载
async for chunk in response.content.iter_chunked(1024 * 1024):
await f.write(chunk)
- # 判断文件是否为空, 若
+ # 判断文件是否为空, 若为空则继续重试
if await is_empty(file_path):
await asyncio.sleep(3)
retries += 1