diff --git a/m3u8-downloader.go b/m3u8-downloader.go index f0f8861..1a81321 100755 --- a/m3u8-downloader.go +++ b/m3u8-downloader.go @@ -279,7 +279,7 @@ func downloadTsFile(ts TsInfo, download_dir, key string, retries int) { // downloader m3u8 下载器 func downloader(tsList []TsInfo, maxGoroutines int, downloadDir string, key string) { - retry := 5 //单个 ts 下载重试次数 + retry := 5 //单个ts 下载重试次数 var wg sync.WaitGroup limiter := make(chan struct{}, maxGoroutines) //chan struct 内存占用 0 bool 占用 1 tsLen := len(tsList)