ksxs

import re,sys,time,json,requests,datetime
aaa='''accept: application/json, text/plain, */*
origin: https://lyzs.zuanqianyi.com
x-requested-with: com.kuaishou.nebula
sec-fetch-site: same-site
sec-fetch-mode: cors
sec-fetch-dest: empty
referer: https://lyzs.zuanqianyi.com/
accept-encoding: gzip, deflate
accept-language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7'''
head1={'accept': 'application/json, text/plain, */*', 'origin': 'https://lyzs.zuanqianyi.com', 'x-requested-with': 'com.kuaishou.nebula', 'sec-fetch-site': 'same-site',
       'sec-fetch-mode': 'cors', 'sec-fetch-dest': 'empty', 'referer': 'https://lyzs.zuanqianyi.com/', 'accept-encoding': 'gzip, deflate',
       'accept-language': 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7',
       'User-Agent':'Mozilla/5.0 (Linux; Android 10; Redmi Note 8 Pro Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/90.0.4430.226 KsWe\nbView/1.8.90.529 (rel;r) Mobile Safari/537.36 Yoda/3.0.0-rc5 ksNebula/10.6.50.4023 OS_PRO_BIT/64 MAX_PHY_MEM/5498 AZPREFIX/zw ICFO/0 StatusHT/27 TitleHT/44 AliBaichuan(\n2014_0_23537706@baichuan_h5_0.1.1/10.6.50.4023) AllowKsCallApp NetType/WIFI ISLP/0 ISDM/0 ISLB/0 locale/zh-cn evaSupported/false CT/0'}
head2={'accept': 'application/json, text/plain, */*', 'origin': 'https://lyzs.zuanqianyi.com', 'x-requested-with': 'com.kuaishou.nebula', 'sec-fetch-site': 'same-site', 'sec-fetch-mode': 'cors', 'sec-fetch-dest': 'empty', 'referer': 'https://lyzs.zuanqianyi.com/', 'accept-encoding': 'gzip, deflate', 'accept-language': 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7', 'User-Agent': 'Mozilla/5.0 (Linux; Android 10; Redmi Note 8 Pro Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/90.0.4430.226 KsWebView/1.8.90.498 (rel;r) Mobile Safari/537.36 Yoda/2.8.4-rc2 ksNebula/10.4.30.3548 OS_PRO_BIT/64 MAX_PHY_MEM/5498 AZPREFIX/yz ICFO/0 StatusHT/27 TitleHT/44 AliBaichuan(2014_0_23537706@baichuan_h5_0.1.1/10.4.30.3548) AllowKsCallApp NetType/LTE ISLP/0 ISDM/0 ISLB/0 locale/zh-cn evaSupported/false CT/0'}

json1={"log_id":"RhU7ugi2VHOTV4zS","bline":"cps","pline":"kuaishou","pkna":"","c_date":"2022/8/8 10:45:19","ip":"","app_version":"1.0.3","chid":"","uid":"63679187",
"type":"show","event":"read","data":{"app_type":"NEBULA","book_id":"11010089070","chapter_id":"490733886","chapter_percent":47,"chaper_pv":15,"ad_show":"false","first_load":0,"is_unlock":1}}
x=datetime.datetime.now()
xx=x.strftime("%Y/%m/%d %H:%M:%S")
json1["c_date"]=xx
json2=json3=json4=json5=json1
json2["uid"]="70800768"
json3["uid"]="56288814"
json4["uid"]="73912851"
url="https://kslog.zuanqianyi.com/h5_stand_final_log.php?json="
aa1=requests.get(url+str(json1),headers=head2)
aa2=requests.get(url+str(json2),headers=head2)
aa3=requests.get(url+str(json3),headers=head2)
aa4=requests.get(url+str(json4),headers=head2)

 

posted @ 2022-08-08 11:46  myrj  阅读(261)  评论(0编辑  收藏  举报