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:
|
if self.gbm.get_group_permission(message.roomid, Feature.VIDEO) == PermissionStatus.DISABLED:
|
||||||
return
|
return
|
||||||
try:
|
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:
|
except requests.RequestException as e:
|
||||||
self.wcf.send_text(f"-----Bot-----\n❌请求出错:{e}",
|
self.wcf.send_text(f"-----Bot-----\n❌请求出错:{e}",
|
||||||
(message.roomid if message.from_group() else message.sender), message.sender)
|
(message.roomid if message.from_group() else message.sender), message.sender)
|
||||||
|
|||||||
Reference in New Issue
Block a user