From 6f1f595484138c636d85ae3c52becab299718065 Mon Sep 17 00:00:00 2001 From: Rain Date: Wed, 3 Apr 2024 15:18:47 -0400 Subject: [PATCH] Wait a second between channel requests --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 3b23016..b77f93e 100755 --- a/main.py +++ b/main.py @@ -61,6 +61,7 @@ while True: if channel in downloading: downloading.remove(channel) print(channel + " is no longer downloading") + time.sleep(1) # Wait one second before going to next channel print("\n\033[3mLast checked: " + datetime.now().strftime("%H:%M:%S") + "\033[0m") print("------------------------------------") time.sleep(60) # Wait 60 Seconds before trying again