Shortened download status
This commit is contained in:
@@ -74,7 +74,7 @@ func downloadVideo(destDir, url string, wg *sync.WaitGroup) {
|
|||||||
for i < 100 {
|
for i < 100 {
|
||||||
i = <-y.DownloadPercent
|
i = <-y.DownloadPercent
|
||||||
if i%10 == 0 {
|
if i%10 == 0 {
|
||||||
log.Println("Status: ", i, "%", y.StreamList[0]["title"])
|
log.Println(i, "%", y.StreamList[0]["title"])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
Reference in New Issue
Block a user