turn of std error

This commit is contained in:
Mark Beamer Jr 2020-07-27 17:31:28 -04:00
parent 8600077caa
commit 8e61cde0a0
No known key found for this signature in database
GPG key ID: 1C314FB89AD76973

View file

@ -15,7 +15,7 @@ import (
func GetPlaylistVideoIDs(channelName string, maxVideos int) ([]string, error) { func GetPlaylistVideoIDs(channelName string, maxVideos int) ([]string, error) {
args := []string{"--skip-download", "https://www.youtube.com/channel/" + channelName, "--get-id", "--flat-playlist"} args := []string{"--skip-download", "https://www.youtube.com/channel/" + channelName, "--get-id", "--flat-playlist"}
ids, err := run(args, true, true) ids, err := run(args, false, true)
if err != nil { if err != nil {
return nil, errors.Err(err) return nil, errors.Err(err)
} }