mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-06 20:06:12 +08:00
fix: fix raise wrong exception in bilibili-live
This commit is contained in:
parent
539276d27e
commit
19dcf4dea0
@ -201,7 +201,7 @@ class Bilibililive(StatusChange):
|
||||
info["cover"] = res_dict["data"]["live_room"]["cover"]
|
||||
return info
|
||||
else:
|
||||
raise self.ParseTargetException(res.text)
|
||||
raise self.FetchError()
|
||||
|
||||
def compare_status(self, target: Target, old_status, new_status) -> list[RawPost]:
|
||||
if (
|
||||
|
Loading…
x
Reference in New Issue
Block a user