🎨 Handle request status (#351)

This commit is contained in:
Nikhil Badyal
2023-08-28 22:08:27 +05:30
committed by GitHub
parent bc5635530b
commit 30e92acaee
8 changed files with 40 additions and 52 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ class Downloader(object):
stream=True,
headers=headers,
)
handle_request_response(response)
handle_request_response(response, url)
total = int(response.headers.get("content-length", 0))
bar = tqdm(
desc=file_name,