You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.
czHeaders对象创建成功! 初始化成功!czUserClassName: test 本次更新后的cookies:<RequestsCookieJar[<Cookie org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE=zh_CN for />, <Cookie JSESSIONID=A7FF9AB47DE172DB3A374DFD94CDA913 for ids.xidian.edu.cn/authserver>, <Cookie route=0c3b87d026db5a8dc3b618d30f0e5979 for ids.xidian.edu.cn/authserver>]> 本次更新后的cookies:<RequestsCookieJar[<Cookie org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE=zh_CN for />, <Cookie JSESSIONID=A7FF9AB47DE172DB3A374DFD94CDA913 for ids.xidian.edu.cn/authserver>, <Cookie route=0c3b87d026db5a8dc3b618d30f0e5979 for ids.xidian.edu.cn/authserver>]> Traceback (most recent call last): File ".\index.py", line 7, in <module> user.login() File "D:\study\xidian-class-shedule\CZUser.py", line 159, in login self.__getTrueCookies() File "D:\study\xidian-class-shedule\CZUser.py", line 131, in __getTrueCookies secondRedirectURL = firstRedirectRequst.headers['Location'] File "D:\Python\lib\site-packages\requests\structures.py", line 54, in __getitem__ return self._store[key.lower()][1] KeyError: 'location'
The text was updated successfully, but these errors were encountered:
czHeaders对象创建成功! 初始化成功!czUserClassName: test 本次更新后的cookies:<RequestsCookieJar[<Cookie org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE=zh_CN for />, <Cookie JSESSIONID=A7FF9AB47DE172DB3A374DFD94CDA913 for ids.xidian.edu.cn/authserver>, <Cookie route=0c3b87d026db5a8dc3b618d30f0e5979 for ids.xidian.edu.cn/authserver>]> 本次更新后的cookies:<RequestsCookieJar[<Cookie org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE=zh_CN for />, <Cookie JSESSIONID=A7FF9AB47DE172DB3A374DFD94CDA913 for ids.xidian.edu.cn/authserver>, <Cookie route=0c3b87d026db5a8dc3b618d30f0e5979 for ids.xidian.edu.cn/authserver>]> Traceback (most recent call last): File ".\index.py", line 7, in <module> user.login() File "D:\study\xidian-class-shedule\CZUser.py", line 159, in login self.__getTrueCookies() File "D:\study\xidian-class-shedule\CZUser.py", line 131, in __getTrueCookies secondRedirectURL = firstRedirectRequst.headers['Location'] File "D:\Python\lib\site-packages\requests\structures.py", line 54, in __getitem__ return self._store[key.lower()][1] KeyError: 'location'
The text was updated successfully, but these errors were encountered: