Skip to content

Commit d07e446

Browse files
committed
docs(download): 添加音频下载方法的文档字符串
添加了 StreamDownloader 类中 download_audio 方法的详细文档说明, 包括参数类型和功能描述,提高代码可读性和维护性。
1 parent f503f82 commit d07e446

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/nonebot_plugin_parser_lite/download/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,7 @@ async def download_audio(
781781
) -> Path:
782782
"""
783783
下载音频
784+
784785
:param url: 音频下载地址
785786
:param audio_name: 保存到本地的音频文件名,为空时根据 url 自动生成 mp3 文件名
786787
:param ext_headers: 额外的请求头,会与默认请求头合并

0 commit comments

Comments
 (0)