mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +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