Update douyu.go

pull/51/head
肥羊 2 years ago committed by GitHub
parent ef80d57ca5
commit c4e28bd1ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Golang/liveurls/douyu.go

@ -115,7 +115,7 @@ func (d *Douyu) GetRealUrl() any {
panic(n3err)
}
param := fmt.Sprintf("%s", result2)
realparam := param + "&rate=-1"
realparam := param + "&rate=0"
r1, n4err := http.Post("https://www.douyu.com/lapi/live/getH5Play/"+realroomid, "application/x-www-form-urlencoded", strings.NewReader(realparam))
if n4err != nil {
panic(n4err)

Loading…
Cancel
Save