(self)
| 193 | |
| 194 | # 执行欢太商城实例对象 |
| 195 | def start(self): |
| 196 | self.sess.headers.update({ |
| 197 | "User-Agent":self.dic['UA'] |
| 198 | }) |
| 199 | self.sess.cookies.update({ |
| 200 | "Cookie": self.dic['CK'] |
| 201 | }) |
| 202 | if self.login() == True: |
| 203 | if self.getBattleList() == True: # 获取任务中心数据,判断CK是否正确(登录可能成功,但无法跑任务) |
| 204 | self.runBattleTask() # 运行任务中心 |
| 205 | notify('*' * 40 + '\n') |
| 206 | |
| 207 | # 检测CK是否存在必备参数 |
| 208 | def checkHT(dic): |
no test coverage detected