Random sleep up to 5 min

This commit is contained in:
cainiaowu 2020-10-29 17:18:30 +08:00 committed by GitHub
parent 7d5bb2a4a4
commit 07bd83279d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,7 @@
import requests
import json
from time import sleep
from random import randint
s = requests.Session()
@ -44,4 +46,5 @@ def main():
if __name__ == "__main__":
sleep(randint(10,300))
main()