Skip to content

Instantly share code, notes, and snippets.

@json-m json-m/
Last active Dec 13, 2018

What would you like to do?
not for evil
import requests
import time
url = ""
method = "HEAD"
def rain(arg):
now = time.time()
r = requests.request(method=method, url=arg)
print(now, method, arg)
time.sleep(0.016) # about 20~25rq/s
while True:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.