Formatting
This commit is contained in:
parent
1bc2568aa0
commit
ff6b8ca0fc
1 changed files with 3 additions and 1 deletions
|
@ -207,7 +207,9 @@ with YoutubeDL(PARAMS) as ydl:
|
|||
|
||||
try:
|
||||
percentage = int(chunk / len(video_data) * 100)
|
||||
print(f"Uploading chunk {chunk} / {len(video_data)} ({percentage} %)...")
|
||||
print(
|
||||
f"Uploading chunk {chunk} / {len(video_data)} ({percentage} %)..."
|
||||
)
|
||||
chunk_upload_response = urlopen(chunk_upload_request)
|
||||
chunk_upload_result = json.loads(chunk_upload_response.read())
|
||||
except HTTPError as e:
|
||||
|
|
Loading…
Reference in a new issue