Added 0.5s sleep time between requests for added steps.
This commit is contained in:
@@ -37,6 +37,7 @@ class Worker:
|
|||||||
|
|
||||||
for step in range(15):
|
for step in range(15):
|
||||||
while True:
|
while True:
|
||||||
|
time.sleep(0.5)
|
||||||
response = requests.get(url+ f"&step={step+1}")
|
response = requests.get(url+ f"&step={step+1}")
|
||||||
try:
|
try:
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
|
|||||||
Reference in New Issue
Block a user