diff --git a/bilibili_api/live.py b/bilibili_api/live.py index 89bc714b..fd0a2379 100644 --- a/bilibili_api/live.py +++ b/bilibili_api/live.py @@ -1110,7 +1110,6 @@ async def __handle_data(self, data) -> None: self.logger.warning("检测到未知的数据包类型,无法处理") async def __send_verify_data(self, ws: ClientWebSocketResponse, token: str) -> None: - self.credential.raise_for_no_buvid3() # 没传入 dedeuserid 可以试图 live.get_self_info if not self.credential.has_dedeuserid(): try: diff --git a/bilibili_api/watchroom.py b/bilibili_api/watchroom.py index 94bda109..d788b55b 100644 --- a/bilibili_api/watchroom.py +++ b/bilibili_api/watchroom.py @@ -119,7 +119,6 @@ def __init__(self, room_id: int, credential: Credential = None): self.credential = credential self.credential.raise_for_no_sessdata() self.credential.raise_for_no_bili_jct() - self.credential.raise_for_no_buvid3() if room_id in watch_room_bangumi_cache.keys(): self.set_season_id(watch_room_bangumi_cache[room_id][0]) self.set_episode_id(watch_room_bangumi_cache[room_id][1])