Closed eyalgolan closed 2 years ago
Hey,
I'm trying to use youtube.Client's GetStream function to get the the stream and size of the video I want to download, like so:
youtube.Client
GetStream
formats := video.Formats.WithAudioChannels() // only get videos with audio stream, size, err := client.GetStream(video, &formats[0])
However, the returned size is always 0. How can I get the video's size?
size
Thanks
Thanks for reporting, I've just written a fix.
Hey,
I'm trying to use
youtube.Client
'sGetStream
function to get the the stream and size of the video I want to download, like so:However, the returned
size
is always 0. How can I get the video's size?Thanks