mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
hds: support for silent
This commit is contained in:
parent
626bef92d5
commit
6b240e2f24
@ -111,7 +111,7 @@ class HDS(VideoRetriever):
|
||||
eta = ETA(total)
|
||||
while i <= total:
|
||||
url = "%s/%sSeg1-Frag%s?%s" % (baseurl, self.url, start, querystring)
|
||||
if self.options.output != "-":
|
||||
if self.options.output != "-" or not self.options.silent:
|
||||
eta.update(i)
|
||||
progressbar(total, i, ''.join(["ETA: ", str(eta)]))
|
||||
data = self.http.request("get", url, cookies=cookies)
|
||||
|
Loading…
Reference in New Issue
Block a user