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"❌下载视频失败")