testerSunshine / 12306

12306智能刷票,订票
MIT License
33.89k stars 9.79k forks source link

验证码通过,开始登录后报错 #820

Open xmzhangs opened 3 years ago

xmzhangs commented 3 years ago

描述问题

验证码通过,开始登录.
url: /passport/web/login返回参数为空, 接口状态码: 302
url: /passport/web/login返回参数为空, 接口状态码: 302
url: /passport/web/login返回参数为空, 接口状态码: 302
url: /passport/web/login返回参数为空, 接口状态码: 302

验证码通过,开始登录..
url: /passport/web/login返回参数为空, 接口状态码: 302
Traceback (most recent call last):
  File "run.py", line 22, in <module>
    select_ticket_info.select().main()
  File "/usr/src/app/init/select_ticket_info.py", line 123, in main
    self.call_login()
  File "/usr/src/app/init/select_ticket_info.py", line 117, in call_login
    self.login.go_login()
  File "/usr/src/app/init/login.py", line 129, in go_login
    uamtk = self.baseLogin(user, passwd)
  File "/usr/src/app/init/login.py", line 66, in baseLogin
    tresult = self.session.httpClint.send(logurl, loginData)
  File "/usr/src/app/myUrllib/httpUtils.py", line 196, in send
    url_host = self.cdnList.pop(random.randint(0, 4))
IndexError: pop index out of range

重现步骤

步骤一

截图&日志

环境信息

额外的备注

Zhangdeli1993 commented 3 years ago

我也遇到,一样的问题,请问怎么解决

yayaleslie commented 3 years ago

一样,好难啊,楼主解决了吗 image

abucraft commented 3 years ago

参考https://github.com/testerSunshine/12306/issues/320