From bd62630a7f10c3b64169becc1c529006a6ea45fe Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sat, 13 Jan 2024 18:41:07 +0800 Subject: [PATCH] :bug: Fix bili flv download --- defs/bilibili_download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defs/bilibili_download.py b/defs/bilibili_download.py index 798bd59..d8eb248 100644 --- a/defs/bilibili_download.py +++ b/defs/bilibili_download.py @@ -310,7 +310,7 @@ async def go_download(v: Video, p_num: int, m: Message, task: bool = True): # FLV 流下载 await download_url(streams[0].url, flv_temp_path, m, "视频 FLV ") # 转换文件格式 - _, result = await execute(f"{FFMPEG_PATH} -i {flv_temp_path} {video_path}") + _, result = await execute(f'{FFMPEG_PATH} -i "{flv_temp_path}" "{video_path}"') else: if len(streams) < 2: raise BilibiliDownloaderError("获取下载链接异常")