properly use % in vtuber download
This commit is contained in:
parent
740f560c12
commit
bd6c0e80bc
@ -35,7 +35,7 @@ func (v *Vtuber) IsLive() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (v *Vtuber) Update() error {
|
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)
|
req, err := http.NewRequest("GET", url, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user