mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
hds: don't output progressbar if --silent
This commit is contained in:
parent
24750ed1d6
commit
a9ef1e6cfa
@ -93,7 +93,7 @@ def download_hds(options, url):
|
||||
eta = ETA(total)
|
||||
while i <= total:
|
||||
url = "%s/%sSeg1-Frag%s" % (baseurl, test["url"], i)
|
||||
if options.output != "-":
|
||||
if not options.silent and options.output != "-":
|
||||
eta.update(i)
|
||||
progressbar(total, i, ''.join(["ETA: ", str(eta)]))
|
||||
data = get_http_data(url)
|
||||
|
Loading…
Reference in New Issue
Block a user