Trying to send mutiple requests at different times using a delay per thread:
def snipe(delay):
print("Exact drop thread opened..")
while True:
if int(round(time.time() * 1000)) == int(droptime - delay):
send = requests.post("www.example.com")
print(f"{time.strftime('[%H:%M:%S]')}Exact: {send}")
break
droptime variable is in UNIX time, example: 1595359842794
For some reason only half of the threads actually send the request the others just dont trigger the if statement for some reason.
Can someone suggest a better way of sending a request at a specific time with adjustable delay.