From: qydysky Date: Wed, 5 Jun 2024 16:28:19 +0000 (+0000) Subject: Fix api loop X-Git-Tag: v0.14.5~10 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=7636427296738774409f60e80fcbd520793216d0;p=bili_danmu%2F.git Fix api loop --- diff --git a/F/api.go b/F/api.go index 9fd869f..a3694de 100644 --- a/F/api.go +++ b/F/api.go @@ -283,7 +283,7 @@ func (c *GetFunc) Get(key string) { } else { c.l.RUnlock() apilog.L(`W: `, `check fail`, key) - c.Get(key) + // c.Get(key) } } } @@ -462,7 +462,8 @@ func (t *GetFunc) configStreamType(sts []struct { //直播流链接 for _, v1 := range v.URLInfo { item := c.LiveQn{ - Url: v1.Host + v.BaseURL + v1.Extra, + Codec: v.CodecName, + Url: v1.Host + v.BaseURL + v1.Extra, } if query, e := url.ParseQuery(v1.Extra); e == nil {