quite wget
This commit is contained in:
parent
db641feb70
commit
5f90781b33
2
main.go
2
main.go
@ -41,7 +41,7 @@ func main() {
|
||||
url := strings.TrimSpace(scanner.Text())
|
||||
torrentName = filepath.Base(url)
|
||||
torrentPath = filepath.Join(unselectedDir, torrentName)
|
||||
cmd := exec.Command("wget", url, "-O", torrentPath)
|
||||
cmd := exec.Command("wget", url, "-q", "-O", torrentPath)
|
||||
cmd.Stdout = os.Stdout
|
||||
cmd.Stderr = os.Stderr
|
||||
err := cmd.Run()
|
||||
|
Loading…
Reference in New Issue
Block a user