mirror of
https://gitgud.io/Melon__Bread/auto-ttv-grabber.git
synced 2024-11-25 00:38:35 -05:00
Wait a second between channel requests
This commit is contained in:
parent
5fb142ec01
commit
6f1f595484
1
main.py
1
main.py
@ -61,6 +61,7 @@ while True:
|
|||||||
if channel in downloading:
|
if channel in downloading:
|
||||||
downloading.remove(channel)
|
downloading.remove(channel)
|
||||||
print(channel + " is no longer downloading")
|
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("\n\033[3mLast checked: " + datetime.now().strftime("%H:%M:%S") + "\033[0m")
|
||||||
print("------------------------------------")
|
print("------------------------------------")
|
||||||
time.sleep(60) # Wait 60 Seconds before trying again
|
time.sleep(60) # Wait 60 Seconds before trying again
|
||||||
|
Loading…
Reference in New Issue
Block a user