1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| import requests import execjs
t = execjs.compile(open('./kkdkdkd.js',"r",encoding='utf-8').read()).call('aaa')
cookies = { 'routeId': '.uc2', 'MALLSSID': '7A51366E497A586D356959664A68525A4F2F5841317450624E774942314D336D584C4167554A4F4B573267566778442F4831734667775935416C46676D4A416E', 'Hm_lvt_489bd07e99fbfc5f12cbb4145adb0a9b': '1725327254', 'HMACCOUNT': '0AC70A95D0007624', 'SL_G_WPT_TO': 'eo', 'SL_GWPT_Show_Hide_tmp': '1', 'SL_wptGlobTipTmp': '1', 'Hm_lpvt_489bd07e99fbfc5f12cbb4145adb0a9b': '1725327271', }
headers = { 'Accept': '*/*', 'Accept-EncKey': 'V9oo1dRhZZje1ZmMrmMEuw==', 'Accept-Language': 'zh-CN,zh;q=0.9', 'Cache-Control': 'no-cache', 'Connection': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Origin': 'https://webapi.cninfo.com.cn', 'Pragma': 'no-cache', 'Referer': 'https://webapi.cninfo.com.cn/', 'Sec-Fetch-Dest': 'empty', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'same-origin', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36', 'X-Requested-With': 'XMLHttpRequest', 'sec-ch-ua': '"Not)A;Brand";v="99", "Google Chrome";v="127", "Chromium";v="127"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Windows"', }
proxies = { 'http': '127.0.0.1:10792', 'https': '127.0.0.1:10792' }
data = { 'tdate': '2024-08-28', 'market': 'SZE', }
response = requests.post('https://webapi.cninfo.com.cn/api/sysapi/p_sysapi1007', cookies=cookies, headers=headers, data=data,proxies=proxies).json() print(response)
|