feat: 支持分 p 视频下载,待额外测试 (#24)

This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2024-02-24 03:38:08 +08:00
committed by GitHub
parent 1dd760d445
commit a4c362d8ab
11 changed files with 563 additions and 349 deletions

View File

@@ -27,9 +27,7 @@ async def amakedirs(path: Path, exist_ok=False) -> None:
await makedirs(path, exist_ok=exist_ok)
def aopen(
path: Path, mode: str = "r", **kwargs
) -> AiofilesContextManager[None, None, AsyncTextIOWrapper]:
def aopen(path: Path, mode: str = "r", **kwargs) -> AiofilesContextManager[None, None, AsyncTextIOWrapper]:
return aiofiles.open(path, mode, **kwargs)