A Video Downloder for any Go application
gonyvido provides a higher-level programming interface for integrate video download and conversion features to your go applications.
IMPORTANT: gonyvido is still in development phase so please please feel free to contribute and expand it to other video downloading sites.
install & try it out ! ✌️
gonyvido --url https://www.youtube.com/watch?v=3sCGysVB41k
go get github.com/noelyahan/gonyvido
gonyvido -path "./download/mp3" -mp3 -url https://www.youtube.com/watch?v=_P7S2lKif-A
package main
import (
"github.com/noelyahan/gonyvido/api"
)
func main() {
// go lang song :)
url := "https://www.youtube.com/watch?v=LJvEIjRBSDA"
api.GetHQVideo(url).Download()
// if you need only the audio
api.GetHQVideo(url).Download().ToMP3()
/*
api.GetHQVideo(url) - > get high quality video
api.GetMQVideo(url) - > get medium quality video
api.GetLQVideo(url) - > get low quality video
*/
}
If you want to know what it is like to build applications with gonyvido, check main.go.
gonyvido is mainly influenced by youtube.dl and kkdai/youtube offers a similar functionality that has been adapted to Go.
gonyvido is released under the MIT License.