From ebd2717506f543f0d6173b413fb1fed23e74d4d5 Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 5 Mar 2025 16:34:03 +0800 Subject: [PATCH] =?UTF-8?q?feature=EF=BC=9A=E5=8A=A0=E5=85=A5=E8=AF=BB?= =?UTF-8?q?=E5=8F=96=E9=AC=BC=E9=AC=BCAPI=20=E9=BB=91=E4=B8=9D=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- group_video/bot_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group_video/bot_video.py b/group_video/bot_video.py index f845c26..a18ac8a 100644 --- a/group_video/bot_video.py +++ b/group_video/bot_video.py @@ -77,7 +77,7 @@ class BotVideo: if self.gbm.get_group_permission(message.roomid, Feature.VIDEO) == PermissionStatus.DISABLED: return try: - file_abspath = self.download_stream("https://api.guiguiya.com/api/hook/heisis", "down_load_dir") + file_abspath = self.download_stream("https://api.guiguiya.com/api/hook/heisis", "down_load_dir/video.mp4") except requests.RequestException as e: self.wcf.send_text(f"-----Bot-----\n❌请求出错:{e}", (message.roomid if message.from_group() else message.sender), message.sender)