mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-08 04:43:00 +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"]
|
info["cover"] = res_dict["data"]["live_room"]["cover"]
|
||||||
return info
|
return info
|
||||||
else:
|
else:
|
||||||
raise self.ParseTargetException(res.text)
|
raise self.FetchError()
|
||||||
|
|
||||||
def compare_status(self, target: Target, old_status, new_status) -> list[RawPost]:
|
def compare_status(self, target: Target, old_status, new_status) -> list[RawPost]:
|
||||||
if (
|
if (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user