aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author吳俊翰2023-05-08 17:33:44 +0800
committerGitHub2023-05-08 17:33:44 +0800
commit9cf9d91e8667010e360caf9b9a4c374fcd9904fd (patch)
treeb5712427975405f592ef799cfe4cdc5a0c77901e
parent0456c29a5234121c8889b257642c8e8f0882ac09 (diff)
Update main.py
-rw-r--r--main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.py b/main.py
index 254b431..1b40bb5 100644
--- a/main.py
+++ b/main.py
@@ -117,6 +117,7 @@ def download_song(session, directory, name, url, song_counter, lock,file_format)
downloaded = 0
retry_count = 0
while downloaded < total:
+ time.sleep(3)
try:
with open(filename, 'ab') as f, tqdm(
desc=name,