mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
fetcher.http: rename options to config
This commit is contained in:
parent
61c76824a9
commit
bd73466265
@ -30,7 +30,7 @@ class HTTP(VideoRetriever):
|
|||||||
for i in data.iter_content(8192):
|
for i in data.iter_content(8192):
|
||||||
bytes_so_far += len(i)
|
bytes_so_far += len(i)
|
||||||
file_d.write(i)
|
file_d.write(i)
|
||||||
if not self.options.get("silent"):
|
if not self.config.get("silent"):
|
||||||
eta.update(bytes_so_far)
|
eta.update(bytes_so_far)
|
||||||
progressbar(total_size, bytes_so_far, ''.join(["ETA: ", str(eta)]))
|
progressbar(total_size, bytes_so_far, ''.join(["ETA: ", str(eta)]))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user