feature:加入读取鬼鬼API 黑丝视频功能
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user