From bd6c0e80bc6b85959ca22da64e93d41aa52136cc Mon Sep 17 00:00:00 2001 From: Steve Date: Wed, 4 Aug 2021 18:06:06 -0400 Subject: [PATCH] properly use % in vtuber download --- vtuber.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtuber.go b/vtuber.go index 3e1eb01..4300ab2 100644 --- a/vtuber.go +++ b/vtuber.go @@ -35,7 +35,7 @@ func (v *Vtuber) IsLive() bool { } func (v *Vtuber) Update() error { - url := fmt.Sprintf("https://holodex.net/api/v2/live?channel_id=%s&lang=all&sort=available_at&order=desc&limit=25&offset=0&paginated=%3Cempty%3E", v.ChannelID) + url := fmt.Sprintf("https://holodex.net/api/v2/live?channel_id=%s&lang=all&sort=available_at&order=desc&limit=25&offset=0&paginated=%%3Cempty%%3E", v.ChannelID) req, err := http.NewRequest("GET", url, nil) if err != nil { return err