mirror of
https://github.com/linbailo/zyqinglong.git
synced 2026-01-12 11:10:42 +08:00
Update mtbei.py
This commit is contained in:
parent
e38f00a887
commit
5b864367e6
4
mtbei.py
4
mtbei.py
@ -5,7 +5,7 @@
|
||||
多账号换行或&隔开
|
||||
export meituanCookie="AgGZIgsYHyxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
|
||||
cron: 2 0,6,10,16,20 * * *
|
||||
cron: 0 0,6,10,16,20 * * *
|
||||
const $ = new Env("美团辅助");
|
||||
"""
|
||||
import os
|
||||
@ -22,4 +22,4 @@ for mt in os.getenv('meituanCookie').split("&"):
|
||||
b = requests.post('https://mediacps.meituan.com/gundam/gundamGrabV4',json=data,headers=headers).json()
|
||||
#print(b['data']['allCoupons']);
|
||||
for sj in b['data']['allCoupons']:
|
||||
print(f"{sj['couponName']}-{sj['amountLimit']}-{sj['couponAmount']}元-{sj['amountLimit']}")
|
||||
print(f"{sj['couponName']}-{sj['amountLimit']}-{sj['couponAmount']}元-{sj['amountLimit']}")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user