12306登陆不了(为什么电脑上登陆不了12306)

  • 时间:
  • 浏览:87
  • 来源:奥一装修网

12306注册过了登陆不上

两个py文件,一个超级鹰文件,一个文件

12306 登录不进去

文件一个超级鹰py文件

12306为什么不能登录了

来自hashlib的导入请求导入md5类Chaojiying(对象):def __init __(自身,用户名,密码,soft_id):self。username =用户名self 。密码= md5(password。encode(’utf-8’))。 hexdigest()self。soft_id = soft_id self。base_params = {’user’:self。username,’pass2’:self。password,’softid’:self 。soft_id,} self。headers = {’Connection’:’保持活着”,“用户代理”:“ Mozilla / 4。0(兼容; MSIE 8。0; Windows NT 5。1;三叉戟/4。0)”,} def post_pic(自我,即时通讯,代码类型):