(self)
| 287 | |
| 288 | # 执行欢太商城实例对象 |
| 289 | def start(self): |
| 290 | self.sess.headers.update({ |
| 291 | "User-Agent":self.dic['UA'] |
| 292 | }) |
| 293 | self.sess.cookies.update({ |
| 294 | "Cookie": self.dic['CK'] |
| 295 | }) |
| 296 | if self.login() == True: |
| 297 | if self.getBattleList() == True: # 获取任务中心数据,判断CK是否正确(登录可能成功,但无法跑任务) |
| 298 | self.runBattleTask() # 运行任务中心 |
| 299 | notify('*' * 40 + '\n') |
| 300 | |
| 301 | # 检测CK是否存在必备参数 |
| 302 | def checkHT(dic): |
no test coverage detected