Open skekre98 opened 3 years ago
@skekre98 I think you're probably seeing the same issue as #14 . You are indeed missing an error check! video.Download() returns an error, so make sure you're checking for an err when using video.Download(). For example:
err := vid.Download(0, "C:/Users/jsmith/Downloads/video.mp4", options)
if err != nil {
fmt.Println(err)
}
Hope this helps.
@skekre98 I think you're probably seeing the same issue as #14 . You are indeed missing an error check! video.Download() returns an error, so make sure you're checking for an err when using video.Download(). For example:
err := vid.Download(0, "C:/Users/jsmith/Downloads/video.mp4", options) if err != nil { fmt.Println(err) }
Hope this helps.
"unsupported protocol scheme"
Tried implementing youtube download functionality in my program, but the example is returning empty mp4 files on all videos I have tried including the one in the example. The actual code runs fine and somehow is not throwing any errors. Perhaps there is a missing error check somewhere?