# -*- coding: utf-8 -*- # Author : Charley # Python : 3.10.8 # Date : 2025/11/12 13:34 import requests import json headers = { "authority": "kurabu.feishezhang.com", "accept": "*/*", "accept-language": "zh-CN,zh;q=0.9", "content-type": "application/json", "referer": "https://servicewechat.com/wxa5880b2d8e8a0f37/17/page-frame.html", "sec-fetch-dest": "empty", "sec-fetch-mode": "cors", "sec-fetch-site": "cross-site", "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", "xweb_xhr": "1" } # url = "https://kurabu.feishezhang.com/api.php" # params = { # "s": "reward/MiniappGetPreviousAvailableSession", # "system_type": "default", # "application": "app", # "application_client_type": "weixin", # "token": "26eed48c80bad053717687daef3a8668", # # "token": token, # "uuid": "0b2f5448-a8ca-4dbe-9bac-0c49a10d9873", # "ajax": "ajax" # } # # total_sessions = 3 # # for i in range(3): # # log.debug(f"{inspect.currentframe().f_code.co_name} 获取第{i + 1}个赏") # data = { # # "reward_pool_id": reward_pool_id, # # "reward_pool_id": "c058b102-8ea6-48c2-9195-1216b010f579", # "reward_pool_id": "50977f8b-630c-4cc1-b924-a22c33990624", # "current_session_num": 1 # # "current_session_num": 1 # } # response = requests.post(url, headers=headers, params=params, json=data) # print(response.text) # # response.raise_for_status() # # # resp_json = response.json() # if resp_json['code'] == 0: # session_id = resp_json.get('data', {}).get('id') # print(session_id) url = "https://kurabu.feishezhang.com/api.php" params = { "s": "reward/MiniappGetCurrentSessionDrawRecords", "system_type": "default", "application": "app", "application_client_type": "weixin", "token": "26eed48c80bad053717687daef3a8668", "uuid": "227de1d4-c429-4e73-b972-42c26560ed83", "ajax": "ajax", # "session_id": "3065", "session_id": 1066, "record_page": str(4) # "record_page": "1" } response = requests.get(url, headers=headers, params=params) print(response.text) """ 2 -> 3 -> """ # 3076