From 388d959799bff1fd862ef07a7281e0d69be67cfe Mon Sep 17 00:00:00 2001 From: qydysky Date: Wed, 1 Sep 2021 02:26:50 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8D=E5=88=9D=E5=A7=8B=E7=8A=B6?= =?utf8?q?=E6=80=81=E6=B2=A1=E6=9C=89LIVE=5FBUVID?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bili_danmu.go | 2 ++ demo/config/config_K_v.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bili_danmu.go b/bili_danmu.go index a6f01b5..ba31c6b 100644 --- a/bili_danmu.go +++ b/bili_danmu.go @@ -67,6 +67,8 @@ func Demo(roomid ...int) { F.KeepConnect() //获取cookie F.Get(`Cookie`) + //获取LIVE_BUVID + F.Get(`LIVE_BUVID`) if room == 0 { c.Log.Block(1000)//等待所有日志输出完毕 fmt.Println("输入房间号或` live`获取正在直播的主播") diff --git a/demo/config/config_K_v.json b/demo/config/config_K_v.json index 3e91ec2..32c03ac 100644 --- a/demo/config/config_K_v.json +++ b/demo/config/config_K_v.json @@ -47,7 +47,8 @@ "日志显示": [ "I: ", "W: ", - "E: " + "E: ", + "T: " ], "统计营收": true, "Gtk弹幕窗": false, -- 2.39.2