Wait a second between channel requests

This commit is contained in:
Rain Clark 2024-04-03 15:18:47 -04:00
parent 5fb142ec01
commit 6f1f595484

View File

@ -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