Merge remote-tracking branch 'origin/master'

This commit is contained in:
bytedream 2021-10-14 22:40:38 +02:00
commit 54d424e787

View file

@ -261,7 +261,7 @@ func main() {
} }
// download the format to the file // download the format to the file
if err := format.Download(file, nil); err != nil { if err := format.DownloadGoroutines(file, 4, nil); err != nil {
panic(err) panic(err)
} }
fmt.Printf("Downloaded %s with %s resolution and %.2f fps as %s\n", episode.Title, format.Video.Resolution, format.Video.FPS, file.Name()) fmt.Printf("Downloaded %s with %s resolution and %.2f fps as %s\n", episode.Title, format.Video.Resolution, format.Video.FPS, file.Name())