switch to MP4 over webm
This commit is contained in:
parent
5cadbb88f5
commit
2588e6dc6b
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue