Add files via upload

pull/51/head
肥羊 3 years ago committed by GitHub
parent f2909707a0
commit af69d7259a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Golang/liveurls/bilibili.go

@ -59,14 +59,13 @@ func (b *BiliBili) GetPlayUrl() any {
}
client := &http.Client{}
params := map[string]string{
"device": "phone",
"scale": "3",
"room_id": roomid,
"protocol": "0,1",
"format": "0,1,2",
"codec": "0,1",
"build": b.Quality,
"qn": b.Quality,
"platform": b.Platform,
"ptype": "8",
}
r, _ := http.NewRequest("GET", "https://api.live.bilibili.com/xlive/web-room/v2/index/getRoomPlayInfo", nil)
q := r.URL.Query()

Loading…
Cancel
Save