Fix variable naming and hardcoded path

Remove Dockerfile

init
This commit is contained in:
Rikka committed 2023-01-18 01:06:32 +08:00
1 parent 4ccbc05426
commit dcb48bb2a4
11 files changed
+45 -25

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ def run(args):
def download_file(url, f_name):
md5 = ""
response = requests.get(url, stream=True, proxies={"https":"127.0.0.1:7890"})
response = requests.get(url, stream=True)
total_size_in_bytes = int(response.headers.get('content-length', 0))
block_size = 1024 # 1 Kibibyte
progress_bar = tqdm(total=total_size_in_bytes, unit='iB', unit_scale=True)