1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 12:15:40 +01:00

fetcher.http: rename options to config

This commit is contained in:
Johan Andersson 2018-10-28 22:36:09 +01:00
parent 61c76824a9
commit bd73466265

View File

@ -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)]))