switch to MP4 over webm

This commit is contained in:
Niko Storni 2018-08-29 18:34:30 -04:00
parent f918f90853
commit a0565e809e
No known key found for this signature in database
GPG key ID: F37FE63398800368

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 {