测试抖音处理
This commit is contained in:
@@ -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"❌下载视频失败")
|
||||
|
||||
Reference in New Issue
Block a user