mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 11:42:22 +08:00
使用 https
This commit is contained in:
parent
52e1118ff6
commit
fc22b8862c
|
@ -63,7 +63,7 @@ namespace BililiveRecorder.Core
|
|||
/// <exception cref="Exception"/>
|
||||
public static RoomInfo GetRoomInfo(int roomid)
|
||||
{
|
||||
string url = $@"http://api.live.bilibili.com/AppRoom/index?room_id={roomid}&platform=android";
|
||||
string url = $@"https://api.live.bilibili.com/AppRoom/index?room_id={roomid}&platform=android";
|
||||
var data = HttpGetJson(url);
|
||||
var i = new RoomInfo()
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace BililiveRecorder.Core
|
|||
{
|
||||
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
|
||||
private const string defaulthosts = "broadcastlv.chat.bilibili.com";
|
||||
private const string CIDInfoUrl = "http://live.bilibili.com/api/player?id=cid:";
|
||||
private const string CIDInfoUrl = "https://live.bilibili.com/api/player?id=cid:";
|
||||
|
||||
private readonly Func<TcpClient> funcTcpClient;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user