(self)
| 214 | |
| 215 | # 执行欢太商城实例对象 |
| 216 | def start(self): |
| 217 | self.sess.headers.update({ |
| 218 | "User-Agent":self.dic['UA'] |
| 219 | }) |
| 220 | self.sess.cookies.update({ |
| 221 | "Cookie": self.dic['CK'] |
| 222 | }) |
| 223 | if self.login() == True: |
| 224 | if self.getBattleList() == True: # 获取任务中心数据,判断CK是否正确(登录可能成功,但无法跑任务) |
| 225 | self.runBattleTask() # 运行任务中心 |
| 226 | notify('*' * 40 + '\n') |
| 227 | |
| 228 | # 检测CK是否存在必备参数 |
| 229 | def checkHT(dic): |
no test coverage detected