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()
|
defer downloadedFile.Close()
|
||||||
|
return videoInfo.Download(videoInfo.Formats.Best(ytdl.FormatAudioEncodingKey)[1], downloadedFile)
|
||||||
return videoInfo.Download(videoInfo.Formats.Best(ytdl.FormatAudioEncodingKey)[0], downloadedFile)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v *YoutubeVideo) videoDir() string {
|
func (v *YoutubeVideo) videoDir() string {
|
||||||
|
|
Loading…
Add table
Reference in a new issue