Skip to content

Commit

Permalink
说明文档
Browse files Browse the repository at this point in the history
  • Loading branch information
worm128 committed Apr 7, 2024
1 parent 9de1869 commit 741931e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bilibili-live-api.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ def print(*args, **kwargs):
# b站直播身份验证:
#实例化 Credential 类
cred = Credential(
sessdata="e7297ffd%2C1728021262%2C9d352%2A42CjByluo8_3cAYLGSzYP-jg-_Hb4Fo1vWVW1mnDRXqV4IVt6oNaiDhT356_eyAshEbCkSVkU1M2JscVhZdE9LWlBfZDR5VHVXRHFvX2lld1ozdDdvcTBVWnozTXdyMGVGWV9BdVJMbkk2WGxIeUdqNGdNeHY4MjNsVzQ5UnAwZG5oNGZUZWQtZk1RIIEC",
buvid3="C08180D1-DDCD-1766-0162-FB77DF0BDAE597566infoc",
bili_jct="1a9126ed6a0e1548905aa3710e254f75",
dedeuserid="333472479",
sessdata="",
buvid3="",
bili_jct="",
dedeuserid="",
)
room_id = int(input("输入你的B站直播间编号: ") or "31814714") # 输入直播间编号
room = live.LiveDanmaku(room_id, credential=cred, debug=False) # 连接弹幕服务器
Expand Down

0 comments on commit 741931e

Please sign in to comment.