gen_web_users.py 428 B

123456789101112
  1. import hashlib
  2. import config
  3. import jsonAndRequest as jsreq
  4. botlist = config.BOTLIST
  5. for i in range(len(botlist)):
  6. print(botlist[i], hashlib.md5((botlist[i] + config.PASSWORD).encode('utf-8')).hexdigest())
  7. print(jsreq.createUser(botlist[i], botlist[i],
  8. hashlib.md5((botlist[i] + config.PASSWORD).encode('utf-8')).hexdigest(),
  9. config.API_URL + "/v1/auth/users/"))