feature:加入读取鬼鬼API 黑丝视频功能

This commit is contained in:
liuwei
2025-03-05 16:34:03 +08:00
parent eb12bcb454
commit ebd2717506

View File

@@ -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)