From b07d9a1c9ee9353380393302aaea1efe73462c2d Mon Sep 17 00:00:00 2001 From: liz Date: Sat, 13 Apr 2024 11:30:56 +0800 Subject: [PATCH] fix --- m3u8-downloader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }