From c235004f7835c40cd32ca4e8559bc863dde2cd42 Mon Sep 17 00:00:00 2001 From: CedarHuang <53118438+CedarHuang@users.noreply.github.com> Date: Fri, 3 Mar 2023 01:14:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=97=E9=B1=BC=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E9=97=B4id=E4=B8=BA8=E4=BD=8D=E6=97=B6=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=92=AD=E6=94=BE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Golang/liveurls/douyu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Golang/liveurls/douyu.go b/Golang/liveurls/douyu.go index 57bc09d..da2de6a 100644 --- a/Golang/liveurls/douyu.go +++ b/Golang/liveurls/douyu.go @@ -43,7 +43,7 @@ func (d *Douyu) GetRealUrl() any { resp, _ := client.Do(r) defer resp.Body.Close() body, _ := io.ReadAll(resp.Body) - roomidreg := regexp.MustCompile(`(?i)rid":(\d{1,7}),"vipId`) + roomidreg := regexp.MustCompile(`(?i)rid":(\d{1,8}),"vipId`) roomidres := roomidreg.FindStringSubmatch(string(body)) if roomidres == nil { return nil