From 781043d7491988a651040c7e7bb98a8ad0f9333f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=82=A5=E7=BE=8A?= Date: Sat, 3 Jun 2023 22:07:29 +0800 Subject: [PATCH] Update main.go --- Golang/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Golang/main.go b/Golang/main.go index 73e90e8..19c8a27 100644 --- a/Golang/main.go +++ b/Golang/main.go @@ -116,7 +116,7 @@ func setupRouter(adurl string) *gin.Engine { var res list.ApiResponse json.Unmarshal([]byte(apiRes), &res) for _, value := range res.Data.Data { - fmt.Fprintf(c.Writer, "#EXTINF:-1 tvg-logo=\"%s\" group-title=\"%s\", \"%s\"\n", value.Avatar, value.Biz, value.Desc) + fmt.Fprintf(c.Writer, "#EXTINF:-1 tvg-logo=\"%s\" group-title=\"%s\", %s\n", value.Avatar, value.Biz, value.Desc) fmt.Fprintf(c.Writer, "%s/yy/%v\n", getLivePrefix(c), value.Sid) } if res.Data.IsLastPage == 1 {