summaryrefslogtreecommitdiffstats
path: root/feed
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2022-04-16 23:56:31 -0400
committersiddharth <s@ricketyspace.net>2022-04-16 23:56:31 -0400
commitd1e84e9bebc4200179486f37cf00f17764bd911c (patch)
treee785356990cf426109683ac49830df6a160d6d87 /feed
parentf20fc4a4a4c3d8638a475faaa00efb7b3aeebd46 (diff)
feed: update ydlv0.2.3
Don't barf out output from the ydl program.
Diffstat (limited to 'feed')
-rw-r--r--feed/feed.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/feed/feed.go b/feed/feed.go
index dc28f65..25c5750 100644
--- a/feed/feed.go
+++ b/feed/feed.go
@@ -196,8 +196,7 @@ func (feed *Feed) ydl(url string) error {
outputTemplate := fmt.Sprintf("-o%s",
path.Join(feed.DumpDir, "%(title)s-%(id)s.%(ext)s"))
cmd := exec.Command(feed.YDLPath, "--no-progress", outputTemplate, url)
- out, err := cmd.CombinedOutput()
- fmt.Printf("[%s]: %s", feed.Id, out)
+ _, err := cmd.CombinedOutput()
if err != nil {
return err
}