From eb5b6ebe7539a956413b39482e0cfd88a747f362 Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 13 Aug 2025 10:07:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8A=96=E9=9F=B3=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/douyin_parser/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/douyin_parser/main.py b/plugins/douyin_parser/main.py index 5a86bd7..ed08e4e 100644 --- a/plugins/douyin_parser/main.py +++ b/plugins/douyin_parser/main.py @@ -155,7 +155,7 @@ class DouyinParserPlugin(MessagePluginInterface): self.LOG.info(f"开始下载视频到: {save_path}") mp4_path = self._download_stream(video_url, os.path.join(self.download_dir, save_path)) if mp4_path: - await self.bot.send_video_message((roomid if roomid else sender), mp4_path) + await self.bot.send_video_message((roomid if roomid else sender), Path(mp4_path)) return True, "发送视频文件成功" else: print(f"❌下载视频失败")