properly use % in vtuber download

This commit is contained in:
stryan 2021-08-04 18:06:06 -04:00
parent 740f560c12
commit bd6c0e80bc

View File

@ -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