diff --git a/m3u8-downloader.go b/m3u8-downloader.go index 12e8c4c..1c8581f 100755 --- a/m3u8-downloader.go +++ b/m3u8-downloader.go @@ -90,7 +90,7 @@ func Run() { insecure := *sFlag savePath := *spFlag - ro.Headers["Referer"] = getHost(m3u8Url, "apiv2") + ro.Headers["Referer"] = getHost(m3u8Url, "v2") if insecure != 0 { ro.InsecureSkipVerify = true }