From 7c965bfd6363a8e27e077aa5e0c698895a33db09 Mon Sep 17 00:00:00 2001 From: zhuzhiqing Date: Thu, 12 Oct 2023 09:55:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E7=BD=B2=E5=88=B0n1=E6=9C=BA=E5=99=A8?= =?UTF-8?q?=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- videolive/live_bilibili.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/videolive/live_bilibili.js b/videolive/live_bilibili.js index 0dc7398..e9b1916 100644 --- a/videolive/live_bilibili.js +++ b/videolive/live_bilibili.js @@ -17,7 +17,9 @@ let userCookie = ($.isNode() ? process.env[ckName] : $.getdata(ckName)) || ''; let userList = [] let userIdx = 0 let userCount = 0 -let baseUrl = 'http://423n669m71.no-ip.org:9000/api/endpoints/2'; +// let baseUrl = 'http://423n669m71.no-ip.org:9000/api/endpoints/2'; +// let apiKey = "ptr_oQzrYfeDBfuGSbaK2qOM83zN94RyEZfO8v+DdUJwccA=" +let baseUrl = 'http://127.0.0.1:9000/api/endpoints/2'; let apiKey = "ptr_oQzrYfeDBfuGSbaK2qOM83zN94RyEZfO8v+DdUJwccA=" /////////////////////////////////////////////////////////////////// @@ -50,7 +52,7 @@ class UserInfo { await httpRequest('get', urlObject) let result = httpResult; if (!result?.data?.room_info?.live_status) { - console.log("未开播") + console.log("未开播",result) } return result?.data?.room_info?.live_status == 1; }