Skip to content

Commit

Permalink
fix: 取消buvid3用户传入限制
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo2011 committed Aug 13, 2024
1 parent 35e5e99 commit a548b54
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion bilibili_api/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion bilibili_api/watchroom.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit a548b54

Please sign in to comment.