diff --git a/Golang/liveurls/itv.go b/Golang/liveurls/itv.go index 4b6d227..51440d2 100644 --- a/Golang/liveurls/itv.go +++ b/Golang/liveurls/itv.go @@ -225,13 +225,13 @@ type cacheEntry struct { func (i *Itv) HandleMainRequest(c *gin.Context, cdn, id string) { key := cdn + "/" + id - url, ok := programList[key] + startUrl, ok := programList[key] if !ok { c.String(http.StatusNotFound, "id not found!") return } - data, redirectURL, err := getHTTPResponse(url) + data, redirectURL, err := getHTTPResponse(startUrl) if err != nil { c.String(http.StatusInternalServerError, err.Error()) return