From 18eac04320efc349a0e157b695bc6e57727f22c9 Mon Sep 17 00:00:00 2001 From: ByteDream <63594396+ByteDream@users.noreply.github.com> Date: Thu, 14 Oct 2021 20:30:14 +0200 Subject: [PATCH] Replaced deprecated download method --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9293c335..c12f3001 100644 --- a/README.md +++ b/README.md @@ -261,7 +261,7 @@ func main() { } // 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) } fmt.Printf("Downloaded %s with %s resolution and %.2f fps as %s\n", episode.Title, format.Video.Resolution, format.Video.FPS, file.Name())