Advertisement
md5hash16

gosokan

Oct 12th, 2020 (edited)
113
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import requests as rq
  2. import json
  3. import time
  4. import hashlib
  5.  
  6.  
  7. s = rq.Session()
  8.  
  9. headers = {
  10.     'Content-Type': 'application/json; charset=utf-8',
  11.     'User-Agent': 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; vivo 1724 Build/OPM1.171019.011)',
  12.     'Host': 'universal.mkdevelopmentbackend.de:5005',
  13.     'Connection': 'Keep-Alive',
  14.     'Accept-Encoding': 'gzip',
  15.     'Content-Length': '248',
  16. }
  17.  
  18. data ={"API_Key":"3n15Xrw2UY27F1XfnHIgRjm+w+o9dQqXzexK9n\/azBVq7o\/X6ANrFkM9SyDgMVKJiOVCJ7Wt0sTcoQS6AWOvudLwZSmY+CQwwL8DgIAtCuPaxFyQ0G6tsoLZFhRtVbpN0k3EL\/mpNxDPFv60y60+IchLPhdHTdAAJbi5e9G1SD8=","ID":89517}
  19.  
  20. data3 ={"Validation":"0b986855761907d5c51fadfe9e0f9dab","API_Key":"3n15Xrw2UY27F1XfnHIgRjm+w+o9dQqXzexK9n\/azBVq7o\/X6ANrFkM9SyDgMVKJiOVCJ7Wt0sTcoQS6AWOvudLwZSmY+CQwwL8DgIAtCuPaxFyQ0G6tsoLZFhRtVbpN0k3EL\/mpNxDPFv60y60+IchLPhdHTdAAJbi5e9G1SD8=","ID":89517}
  21.  
  22. data1 ={"Validation":"bb4c148c7e917def1770c90a65c6e1e2","Validation2":":R117273292546827312482106468","API_Key":"3n15Xrw2UY27F1XfnHIgRjm+w+o9dQqXzexK9n\/azBVq7o\/X6ANrFkM9SyDgMVKJiOVCJ7Wt0sTcoQS6AWOvudLwZSmY+CQwwL8DgIAtCuPaxFyQ0G6tsoLZFhRtVbpN0k3EL\/mpNxDPFv60y60+IchLPhdHTdAAJbi5e9G1SD8=","ID":89517}
  23.  
  24.  
  25. data2 ={"Validation":"0b986855761907d5c51fadfe9e0f9dab","API_Key":"3n15Xrw2UY27F1XfnHIgRjm+w+o9dQqXzexK9n\/azBVq7o\/X6ANrFkM9SyDgMVKJiOVCJ7Wt0sTcoQS6AWOvudLwZSmY+CQwwL8DgIAtCuPaxFyQ0G6tsoLZFhRtVbpN0k3EL\/mpNxDPFv60y60+IchLPhdHTdAAJbi5e9G1SD8=","ID":89517}
  26.  
  27. #parse user
  28. def get_user():
  29.   gs = s.post('http://universal.mkdevelopmentbackend.de:5005/api/User/GetUserInfo', headers=headers, data=json.dumps(data))
  30.   rg = json.loads(gs.text)
  31.   print(rg)
  32.  
  33. #daily video
  34. def daily_video():
  35.   rd = s.post('http://universal.mkdevelopmentbackend.de:5005/api/Video/DailyLoginVideo', headers=headers, data=json.dumps(data3))
  36.   rj =json.loads(rd.text)
  37.   print(rj)
  38.  
  39. #hour video
  40. def hour_video():
  41.   rh = s.post('http://universal.mkdevelopmentbackend.de:5005/api/Video/HourlyVideo', headers=headers, data=json.dumps(data2))
  42.   hv = json.loads(rh.text)
  43.   print(hv)
  44.  
  45. #scratchnya
  46. def gosok():
  47.   rg =s.post('http://universal.mkdevelopmentbackend.de:5005/api/Scratch/StartScratching', headers=headers, data=json.dumps(data1))
  48.   gj = json.loads(rg.text)
  49.   print(gj)
  50.  
  51.  
  52. get_user()
  53. daily_video()
  54. hour_video()
  55. gosok()
  56.  
Advertisement
RAW Paste Data Copied
Advertisement