get_login.py 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # -*- coding: utf-8 -*-
  2. # Author : Charley
  3. # Python : 3.10.8
  4. # Date : 2025/11/11 16:16
  5. import json
  6. import requests
  7. # from fsz_reward_spider import headers
  8. def get_login():
  9. headers = {
  10. "authority": "kurabu.feishezhang.com",
  11. "accept": "*/*",
  12. "accept-language": "zh-CN,zh;q=0.9",
  13. "content-type": "application/json",
  14. "referer": "https://servicewechat.com/wxa5880b2d8e8a0f37/17/page-frame.html",
  15. "sec-fetch-dest": "empty",
  16. "sec-fetch-mode": "cors",
  17. "sec-fetch-site": "cross-site",
  18. "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 MicroMessenger/7.0.20.1781(0x6700143B) NetType/WIFI MiniProgramEnv/Windows WindowsWechat/WMPF WindowsWechat(0x63090c33) XWEB/9129",
  19. "xweb_xhr": "1"
  20. }
  21. url = "https://kurabu.feishezhang.com/api.php"
  22. params = {
  23. "s": "user/appminiuserauth",
  24. "system_type": "default",
  25. "application": "app",
  26. "application_client_type": "weixin",
  27. "token": "",
  28. "uuid": "fc667264-7422-42ba-8c97-a2e8f5cad36e",
  29. "ajax": "ajax"
  30. }
  31. data = {
  32. "authcode": "0d3xOMFa1WImDK0eg3Ha19rcI40xOMFt",
  33. "referrer": 0
  34. }
  35. data = json.dumps(data, separators=(',', ':'))
  36. response = requests.post(url, headers=headers, params=params, data=data)
  37. print(response.text)
  38. print(response)
  39. """
  40. 224b5eda176f2798e3e2daf5d682503f
  41. 1645f2d0f8667f438655266129c26538
  42. ab4ebc28f5aead84a97308ffd48fb9c9
  43. """
  44. if __name__ == '__main__':
  45. get_login()