KingRan 2022-02-14 15:33:35 +08:00
parent 9d1e518c3c
commit 5f5f223220
1 changed files with 2 additions and 1 deletions

View File

@ -332,11 +332,12 @@ def get_planted_info(cookies,sid,account):
try: try:
name = result['plant'][f'{i+1}']['data']['name'] name = result['plant'][f'{i+1}']['data']['name']
planted_id = result['plant'][f'{i+1}']['data']['id'] planted_id = result['plant'][f'{i+1}']['data']['id']
print(f"账号{account}所种植的",f"{name}","充能ID为:",planted_id) print(f"账号{account}所种植的",f"{name}","充能ID为:",planted_id)
name_list.append(name) name_list.append(name)
planted_id_list.append(planted_id) planted_id_list.append(planted_id)
except Exception as e: except Exception as e:
pass pass
print('\n\n')
#获取早睡打卡 #获取早睡打卡