turn of std error
This commit is contained in:
parent
8600077caa
commit
8e61cde0a0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue