(self)
| 228 | |
| 229 | # 执行欢太商城实例对象 |
| 230 | def start(self): |
| 231 | self.sess.headers.update({ |
| 232 | "User-Agent":self.dic['UA'] |
| 233 | }) |
| 234 | self.sess.cookies.update({ |
| 235 | "Cookie": self.dic['CK'] |
| 236 | }) |
| 237 | if self.login() == True: |
| 238 | if self.getBattleList() == True: # 获取任务中心数据,判断CK是否正确(登录可能成功,但无法跑任务) |
| 239 | self.runBattleTask() # 运行任务中心 |
| 240 | notify('*' * 40 + '\n') |
| 241 | |
| 242 | # 检测CK是否存在必备参数 |
| 243 | def checkHT(dic): |
no test coverage detected