diff --git a/jd_health_plant.py b/jd_health_plant.py index 751a603..3876d35 100644 --- a/jd_health_plant.py +++ b/jd_health_plant.py @@ -231,7 +231,7 @@ def get_ck(token,sid_ck,account): "cookie": f"{token}", 'host': 'api.m.jd.com', # 'User-Agent': 'jdapp;iPhone;9.4.8;14.3;809409cbd5bb8a0fa8fff41378c1afe91b8075ad;network/wifi;ADID/201EDE7F-5111-49E8-9F0D-CCF9677CD6FE;supportApplePay/0;hasUPPay/0;hasOCPay/0;model/iPhone13,4;addressid/2455696156;supportBestPay/0;appBuild/167629;jdSupportDarkMode/0;Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1', - 'user-Agent': "JD4iPhone/167922%20(iPhone;%20iOS;%20Scale/2.00)", + 'user-Agent': userAgent (), 'accept-Encoding': 'gzip, deflate, br', 'accept-Language': 'zh-Hans-CN;q=1', "content-type":"application/x-www-form-urlencoded", @@ -279,7 +279,7 @@ def get_Authorization(access_token,account): # print(access_token) return access_token except Exception as e: - msg("账号【{0}】获取Authorization失败,cookie过期".format(account)) + msg("账号【{0}】获取Authorization失败,活动火爆,请稍后再试".format(account)) #获取已种植的信息 def get_planted_info(cookies,sid,account):