mirror of
https://github.com/linbailo/zyqinglong.git
synced 2026-01-12 11:10:42 +08:00
每月签到代码获取方式又变了
This commit is contained in:
parent
aaa27b8d4b
commit
b6e4a7e0c2
9
tsthb.py
9
tsthb.py
@ -22,7 +22,7 @@ import json
|
|||||||
print('============📣初始化📣============')
|
print('============📣初始化📣============')
|
||||||
#版本
|
#版本
|
||||||
github_file_name = 'tsthb.py'
|
github_file_name = 'tsthb.py'
|
||||||
sjgx = '2025-02-17T21:30:11.000+08:00'
|
sjgx = '2025-04-17T21:30:11.000+08:00'
|
||||||
version = '1.46.8'
|
version = '1.46.8'
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@ -70,10 +70,13 @@ def qdsj(ck):
|
|||||||
data = {"shopId":"","birthday":"","gender": 0,"nickName":None,"phone":""}
|
data = {"shopId":"","birthday":"","gender": 0,"nickName":None,"phone":""}
|
||||||
dl = requests.post(url='https://sss-web.tastientech.com/api/minic/shop/intelligence/banner/c/list',json=data,headers=headers).json()
|
dl = requests.post(url='https://sss-web.tastientech.com/api/minic/shop/intelligence/banner/c/list',json=data,headers=headers).json()
|
||||||
activityId = ''
|
activityId = ''
|
||||||
|
# print(dl)
|
||||||
for i in dl['result']:
|
for i in dl['result']:
|
||||||
if i['bannerName'] == '每日签到':
|
if '每日签到' in i['bannerName']:
|
||||||
|
# print(i)
|
||||||
qd = i['jumpPara']
|
qd = i['jumpPara']
|
||||||
activityId = re.findall('activityId%2522%253A(.*?)%257D',qd)[0]
|
activityId = json.loads(qd)['activityId']
|
||||||
|
# activityId = re.findall('activityId%2522%253A(.*?)%257D',qd)[0]
|
||||||
print(f"获取到本月签到代码:{activityId}")
|
print(f"获取到本月签到代码:{activityId}")
|
||||||
#activityId = json.loads(qd)['activityId']
|
#activityId = json.loads(qd)['activityId']
|
||||||
return activityId
|
return activityId
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user