mirror of
https://github.com/linbailo/zyqinglong.git
synced 2026-01-12 03:00:43 +08:00
更新获取本月代码
This commit is contained in:
parent
6e8a0922b2
commit
aaa27b8d4b
6
tsthb.py
6
tsthb.py
@ -73,7 +73,9 @@ def qdsj(ck):
|
|||||||
for i in dl['result']:
|
for i in dl['result']:
|
||||||
if i['bannerName'] == '每日签到':
|
if i['bannerName'] == '每日签到':
|
||||||
qd = i['jumpPara']
|
qd = i['jumpPara']
|
||||||
activityId = json.loads(qd)['activityId']
|
activityId = re.findall('activityId%2522%253A(.*?)%257D',qd)[0]
|
||||||
|
print(f"获取到本月签到代码:{activityId}")
|
||||||
|
#activityId = json.loads(qd)['activityId']
|
||||||
return activityId
|
return activityId
|
||||||
|
|
||||||
|
|
||||||
@ -85,7 +87,7 @@ def yx(ck):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
activityId = ''
|
activityId = ''
|
||||||
if activityId == '':
|
if activityId == '':
|
||||||
activityId = 56
|
activityId = 57
|
||||||
headers = {'user-token':ck,'version':version,'channel':'1'}
|
headers = {'user-token':ck,'version':version,'channel':'1'}
|
||||||
dl = requests.get(url='https://sss-web.tastientech.com/api/intelligence/member/getMemberDetail',headers=headers).json()
|
dl = requests.get(url='https://sss-web.tastientech.com/api/intelligence/member/getMemberDetail',headers=headers).json()
|
||||||
if dl['code'] == 200:
|
if dl['code'] == 200:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user