测试抖音处理

This commit is contained in:
liuwei
2025-08-13 10:07:44 +08:00
parent a4d02dcd67
commit eb5b6ebe75

View File

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