MCPcopy Create free account
hub / github.com/Mashiro2000/HeyTapTask / start

Method start

DailyCash.py:297–307  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

295
296 # 执行欢太商城实例对象
297 def start(self):
298 self.sess.headers.update({
299 "User-Agent":self.dic['UA']
300 })
301 self.sess.cookies.update({
302 "Cookie": self.dic['CK']
303 })
304 if self.login() == True:
305 if self.getDailyCashTask() == True: # 获取天天领现金数据,判断CK是否正确(登录可能成功,但无法跑任务)
306 self.runTaskRewardList() # 运行天天领现金
307 notify('*' * 40 + '\n')
308
309# 检测CK是否存在必备参数
310def checkHT(dic):

Callers 1

main_handlerFunction · 0.95

Calls 4

loginMethod · 0.95
getDailyCashTaskMethod · 0.95
runTaskRewardListMethod · 0.95
notifyFunction · 0.70

Tested by

no test coverage detected