knadh / go-get-youtube

A tiny Go library + client for downloading Youtube videos. The library is capable of fetching Youtube video metadata, in addition to downloading videos.
158 stars 35 forks source link

Choise path to salve dowload content #16

Closed victorfernandesraton closed 1 year ago

victorfernandesraton commented 4 years ago

Download function not have options to manage when and where dowload is assigned

cofonseca commented 3 years ago

@victorfernandesraton I believe you can handle this by including the full path in the filename.

For example, if you use this: err := vid.Download(0, "C:/Users/jsmith/Downloads/song.mp3", options) then you'll find a file called song.mp3 located in C:\Users\jsmith\Downloads.