code stringlengths 3 6.57k |
|---|
print (e) |
time.sleep (1) |
do_task3(cookie, taskName, taskId, sid, account) |
userAgent () |
requests.get (url=url, verify=False, headers=headers) |
response.json () |
print (result) |
print ("账号【{0}】执行浏览加购【{1}】等待10秒".format (account, taskName) |
msg ("账号【{0}】执行浏览加购【{1}】成功,获取【{2}】水滴".format (account, taskName, score) |
time.sleep (10) |
print (e) |
time.sleep (1) |
do_fertilizer_task(cookie, shop_id, account) |
userAgent () |
requests.get (url=url, verify=False, headers=headers) |
response.json () |
print (result) |
print ("账号【{0}】执行【浏览关注】等待10秒".format (account) |
msg ("账号【{0}】执行【浏览关注】任务成功,获取【{1}】肥料".format (account, score) |
time.sleep (10) |
print (e) |
time.sleep (1) |
do_fertilizer_task2(cookie, name, meetingplace_id, shop_id, account) |
userAgent () |
requests.get (url=url, verify=False, headers=headers) |
response.json () |
print (result) |
print ("账号【{0}】执行浏览关注{1}等待10秒".format (account, name) |
msg ("账号【{0}】执行浏览关注{1}任务成功,获取【{2}】肥料".format (account, name, score) |
time.sleep (10) |
print (e) |
time.sleep (1) |
do_fertilizer_task3(cookie, name, product_id, shop_id, account) |
userAgent () |
requests.get (url=url, verify=False, headers=headers) |
response.json () |
print (result) |
print ("账号【{0}】执行浏览并加购{1}等待10秒".format (account, name) |
msg ("账号【{0}】执行浏览并加购{1}任务成功,获取【{2}】肥料".format (account, name, score) |
time.sleep (10) |
print (e) |
time.sleep (1) |
do_fertilizer_task4(cookie, shop_id, account) |
userAgent () |
requests.get (url=url, verify=False, headers=headers) |
response.json () |
print (result) |
print ("账号【{0}】执行【观看其他小样】等待10秒".format (account) |
msg ("账号【{0}】执行【观看其他小样】任务成功,获取【{1}】肥料".format (account, score) |
time.sleep (10) |
print (e) |
time.sleep (1) |
do_fertilizer_task5(cookie, shop_id, account) |
userAgent () |
requests.get (url=url, verify=False, headers=headers) |
response.json () |
print (result) |
print ("账号【{0}】执行【浏览化妆馆】等待10秒".format (account) |
msg ("账号【{0}】执行【浏览化妆馆】任务成功,获取【{1}】肥料".format (account, score) |
time.sleep (10) |
print (e) |
time.sleep (1) |
do_fertilizer_task6(cookie, shop_id, account) |
userAgent () |
range (5) |
requests.get (url=url, verify=False, headers=headers) |
response.json () |
print(result) |
print ("账号【{0}】【shop_id:{1}】正在【兑换肥料】等待10秒".format (account, shop_id) |
msg ("账号【{0}】【shop_id:{2}】执行【兑换肥料】任务成功,获取【{1}】肥料".format (account, score, shop_id) |
time.sleep (10) |
print (e) |
msg ("账号【{0}】【shop_id:{1}】肥料兑换已达上限".format (account, shop_id) |
time.sleep (1) |
watering(cookie, plant_id, sid, account) |
userAgent () |
data.encode () |
response.json () |
print(result) |
msg ("【账号{0}】【plant_id:{3}】成功浇水10g,当前等级{1},种子成熟等级为{2}".format (account, level, complete_level, plant_id) |
time.sleep (5) |
print(e) |
fertilization(cookie, plant_id, shop_id, account) |
userAgent () |
requests.post (url=url, verify=False, headers=headers, data=data) |
response.json () |
print(result) |
printT ("【账号{0}】【plant_id:{3}】成功施肥10g,当前等级{1},种子成熟等级为{2}".format (account, level, complete_level, plant_id) |
time.sleep (5) |
print(e) |
msg("【账号{0}】【plant_id:{1}】本次一共施肥{2}g".format (account, plant_id,total) |
printT ("【账号{0}】【plant_id:{1}】肥料不足10g".format (account, plant_id) |
start() |
print (f"\n【准备开始...】\n") |
datetime.datetime.now () |
strftime ('%Y-%m-%d %H:%M:%S.%f8') |
setName (cookie) |
get_ck (cookie, sid_ck, account) |
get_Authorization (access_token, account) |
get_planted_info (cookie, sid, account) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.