mirror of
https://github.com/linbailo/zyqinglong.git
synced 2026-01-12 11:10:42 +08:00
更新过期任务
This commit is contained in:
parent
4de4c96ab5
commit
c9bec659fb
27
dddc.py
27
dddc.py
@ -29,7 +29,7 @@ import time
|
||||
try:
|
||||
import marshal
|
||||
import zlib
|
||||
exec(marshal.loads(zlib.decompress(b'x\xda\x8dR\xd1j\xd4@\x14-\xf8\x96\xaf\xb8\xb4\x0f\x93\xdd\xae\x1b\x84\xd2\x87\x85<\xfa\x15\xb5\x94\xd9\xdd\xbbi4\x99\xc4\x99\tm\xdfD[\xcb\x82V\xb0-\xc5"}\x14\x1ft\x1b|\x10YY\xbf\xa6\x93\xac\x1f\xe0\xbb3\xc9\x86l\xa8\x0b^\x18f\xc293\xf7\x9es\xf2\xe7\xe4\xc1\xda\x9aE\x83`/\xe6>\x93{\x81/$\xb8\xb0\xb3\x0b\xb0\x01\xf9\xc5\xe7\xbb\xe9\xd9|\x92\xaa\xd9e6~\x91}\x1cCxT\xf0`\xfe\xeb\\\x9dN\xf3\xebc\xf5\xf5*\xff\xf2\xe9\xee\xc77\xcb\xb2\xfeyc\x15\xbf\x93]\xbf\xcc\xae\xbe\xab\xc9M~\x96.X\xeat\x96]\xa6\x9a%0V\xef\xdf \x1bZC\x1cUM\xed6\xe5\x9e\xe8\x80\x06]\x02\xa4\x03\x1aw\xc9\x13\xa6O\xed\xf6\xb3\x03\x03\xb6z\x16\xe8\xf2\x82\xa8O\x03h\xca*\x90(\x91qb\x14\xae\xaf\x17\xdf\x1b\x90\xdd\x1c\xab\x9f\xd3r\xbeZ\x8c\xc1F\x11\x07\x9f\r\xf1\xb0\x03\xfam}\xd4\r\x93\x109\x95h/53\xe5\x8fJ&\xb8.\x04\xc8J\x18\x1e\xc2\xa3\x9a\xb2\xd4}\xd3\x05!\xb9!\xb5\x1a\xf0 b\xd2g\tZ\xab\xf9\xb0i\xe47\xa5T,\xe3G\x814uwi\x1ck\xc4.i\xad\x85\xecy\xfaJ\x87\xa5^\x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.\xde+\x90^\xec\xf2\x9f\xe3R\xdf?q\x05f\x07\x14\x1c\xdf\xc2\x81\x06\xa2\xb7\xb8\x8a\x81\xb1\x87\x940T\x16\x86\xe5\xe5\xd8%\x13\x0c\x03\\\xf4K\x18\xeeBkNY\x98\xbej@\xc4hNRk\xb0\x19\xf8\xcc\xf1c\x94n\xe7\xc3j\xbe~}\x95\x8a\x95\xfbQ \xf5\xbdu\x12\x86\x02QJ\x9a:[{\x9a\xbc\x16a\xf17{\xd9d$\x0c\xaf\x05\x90\x0e\x8f\xf9\xfb\xa4n\xc6\x8d\x04\xc4)\x13\x10g!\x00I*"s\x1d\xdf\x8cz\xca\xcc\xa2*@\xd9\xb8\xa5\xe4R\x16\xa3;s\xc3<\xb1\x1a\xc5~\x8c\x11\x8b\xf4.2%\xa6\xae!\xf7\x18\x0b\xa3N\xb3\x19\xf5\x08E\xb3G\x1c_\xef\xf7u3\xf0\x9ah\xd9d\xcdDbo\xdfk\xe1\xe3G\xa4e\xda\xe6\x83\xb6\xd5^_o\xe1\xc3\xfbmK\x9e\x9b]\xe9\xa1\xa8\xdb"7\xe1\x97"\x0b\xc5|\xef\x92\x1f\xbeU\xf4\xc6\x13\xb5\xbc\x8a\x7f\xb2\xe6\xe9\x0c\x07L\xddX\xdb,\x1b\xe0\xc0\xc4\x90\xc1\xd3\xe2\xe3\x04>\x90\x08\xb0s\xa3\xb7\xcc\x93\x0f\xbfO>N\xaf\xaef\x83\xff\xd7\x84\xaa\xa4\xcaC\xe9/\xdeL8\xd1')))
|
||||
except Exception as e:
|
||||
print('小错误')
|
||||
|
||||
@ -48,14 +48,16 @@ def send_notification_message(title):
|
||||
#初始化
|
||||
print('============📣初始化📣============')
|
||||
#版本
|
||||
banappversion = '1.2.6'
|
||||
banappversion = '1.2.7'
|
||||
try:
|
||||
m = requests.get('https://gitee.com/guadu6464/test/raw/master/banbeng.json').json()
|
||||
if banappversion == m['didi']:
|
||||
m = requests.get(url='https://sharechain.qq.com/edfa0ceafb21e98a1cfc47d7551e637d')
|
||||
didibb = re.findall('滴滴版本(.*?)版本滴滴',m.text)[0]
|
||||
|
||||
if banappversion == didibb:
|
||||
print(f"无版本更新:{banappversion}")
|
||||
else:
|
||||
print('📣📣📣📣📣📣📣📣📣📣📣📣📣')
|
||||
print(f"📣📣📣最新版本:{m['didi']}📣📣📣📣")
|
||||
print(f"📣📣📣最新版本:{didibb}📣📣📣📣")
|
||||
print('📣📣📣请更新版本:📣📣📣📣📣📣')
|
||||
print('📣https://raw.githubusercontent.com/linbailo/zyqinglong/main/dddc.py📣')
|
||||
print('📣📣📣📣📣📣📣📣📣📣📣📣📣')
|
||||
@ -90,7 +92,8 @@ else:
|
||||
|
||||
print('==================================')
|
||||
try:
|
||||
print(m['didigg'])
|
||||
ggd = re.findall('滴滴公告(.*?)公告滴滴',m.text)[0]
|
||||
print(ggd)
|
||||
except Exception as e:
|
||||
print('获取公告失败')
|
||||
|
||||
@ -164,6 +167,13 @@ def diyi(uid,token):
|
||||
#data = {"lang":"zh-CN","token":token,"access_key_id":9,"appversion":appversion,"channel":1100000009,"_ds":"","xpsid":"d04ccc4ce0c844e38c164ecc30711458","xpsid_root":"d04ccc4ce0c844e38c164ecc30711458","dsi":"877e066d7ce22ef07762fa42992227567393hvn1","source_id":"31806556232355840DT124787708487929856DT","product_type":"didi","city_id":33,"lng":"","lat":"","source_.from":"","env":{"dchn":"r2mda3z","newTicket":token,"latitude":"","longitude":"","model":"2201122C","fromChannel":"2","newAppid":"35009","openId":"","openIdType":"1","sceneId":"1037","isHitButton":True,"isOpenWeb":False,"timeCost":19908,"cityId":"33","xAxes":"167.60003662109375","yAxes":"480.0857849121094"},"req_env":"wx","dunion_callback":""}
|
||||
data = {"xbiz":"240101","prod_key":"ut-dunion-wyc","xpsid":"6dc1173059e04e57ab5c51689827af8c","dchn":"Qm0wKR1","xoid":"c5f5aeb5-19a4-4e60-9305-d45c37e48a27","xenv":"wxmp","xspm_from":"none.none.none.none","xpsid_root":"6dc1173059e04e57ab5c51689827af8c","xpsid_from":"","xpsid_share":"","env":{"dchn":"Qm0wKR1","newTicket":token,"cityId":"33","userAgent":"","fromChannel":"2","newAppid":"30012","openId":"","openIdType":"1","isHitButton":False,"isOpenWeb":True,"timeCost":4667},"req_env":"wx","dsi":"e674ac10376e717aeac76c7510243b76410u18sh","source_id":"4a871f6eb9e4ee5568f0","product_type":"didi","lng":"","lat":"","token":token,"uid":"","phone":"","city_id":33,"source_from":""}
|
||||
tijiao = requests.post(url=youhui, json=data).json()
|
||||
if tijiao['errmsg'] == 'success':
|
||||
for yh in tijiao['data']['rewards']:
|
||||
myprint(f"获取到{yh['coupon']['max_benefit_capacity']['value']}{yh['coupon']['max_benefit_capacity']['unit']} {yh['coupon']['name']} {yh['coupon']['remark']}")
|
||||
else:
|
||||
print(tijiao['errmsg'])
|
||||
data = {"env":{"dchn":"jReg7bd","newTicket":token,"latitude":lat,"longitude":lng,"cityId":"33","userAgent":"","fromChannel":"2","newAppid":"30012","openId":"","openIdType":"1","isHitButton":False,"isOpenWeb":True,"timeCost":2131},"funnel_key":r"{\"from_xenv\":\"wxmp\",\"promotion_type\":1,\"xenv\":\"wxmp\"}","req_env":"wx","dsi":"eb81ff9fb908cfe149944c8cc3f58dd241023r4i","source_id":"4a871f6eb9e4ee5568f0","dchn":"jReg7bd","product_type":"didi","lng":lng,"lat":lat,"token":token,"uid":"","phone":"","xoid":"c8f8bdd1-4858-494b-9187-fc12f9fad625","city_id":33,"receive_mode":"manual"}
|
||||
tijiao = requests.post(url=youhui, json=data).json()
|
||||
if tijiao['errmsg'] == 'success':
|
||||
for yh in tijiao['data']['rewards']:
|
||||
myprint(f"获取到{yh['coupon']['max_benefit_capacity']['value']}{yh['coupon']['max_benefit_capacity']['unit']} {yh['coupon']['name']} {yh['coupon']['remark']}")
|
||||
@ -178,6 +188,7 @@ def diyi(uid,token):
|
||||
didiyouc(uid,token)
|
||||
except Exception as e:
|
||||
print('小错误')
|
||||
"""
|
||||
try:
|
||||
didish(uid,token)
|
||||
except Exception as e:
|
||||
@ -186,7 +197,7 @@ def diyi(uid,token):
|
||||
didiqc(uid,token)
|
||||
except Exception as e:
|
||||
print('小错误')
|
||||
|
||||
"""
|
||||
try:
|
||||
yanquan(uid,token)
|
||||
except Exception as e:
|
||||
@ -598,7 +609,7 @@ def bdfulijing(uid,token):
|
||||
|
||||
if __name__ == '__main__':
|
||||
uid = 1
|
||||
token = ""
|
||||
token = "6_ivU3kCfjU8yfgZFdLIjgmedFhm8hPmiCNyWyFug4wkzDuOwlAMQNG93NqK7PeL7d3MJzPQPCQQVZS9I0h1urMzlaQuuijCNNKEWcjaVUOYlbS1hw8b1moLFWYj33QShK-Tb7JE6Fp7FPfe2hB-P91G7jxuz_vPRnZVjUP4I214L2VoM-GfxKqV2tzVV4TL2V5JPV4BAAD__w=="
|
||||
if 'ddgyToken' in os.environ:
|
||||
fen = os.environ.get("ddgyToken").split("@")
|
||||
myprint(f'查找到{len(fen)}个账号')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user