From 78d962d05ea434503d26b170fe1ab0b8dbef0a84 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 25 Oct 2015 18:23:16 +0100 Subject: [PATCH] http: support for silent --- lib/svtplay_dl/fetcher/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/fetcher/http.py b/lib/svtplay_dl/fetcher/http.py index 102e6bc..878e5b3 100644 --- a/lib/svtplay_dl/fetcher/http.py +++ b/lib/svtplay_dl/fetcher/http.py @@ -29,7 +29,7 @@ class HTTP(VideoRetriever): for i in data.iter_content(8192): bytes_so_far += len(i) file_d.write(i) - if self.options.output != "-": + if self.options.output != "-" or not self.options.silent: now = time.time() if lastprogress + 1 < now: lastprogress = now