switch to MP4 over webm

This commit is contained in:
Niko Storni 2018-08-29 18:34:30 -04:00
parent 5cadbb88f5
commit 2588e6dc6b

View file

@ -128,8 +128,7 @@ func (v *YoutubeVideo) download() error {
}
defer downloadedFile.Close()
return videoInfo.Download(videoInfo.Formats.Best(ytdl.FormatAudioEncodingKey)[0], downloadedFile)
return videoInfo.Download(videoInfo.Formats.Best(ytdl.FormatAudioEncodingKey)[1], downloadedFile)
}
func (v *YoutubeVideo) videoDir() string {