Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微博登录报错了 #3

Open
leahoop opened this issue Jun 10, 2020 · 1 comment
Open

微博登录报错了 #3

leahoop opened this issue Jun 10, 2020 · 1 comment

Comments

@leahoop
Copy link

leahoop commented Jun 10, 2020

Traceback (most recent call last): File "E:/python/Crack-JS-Spider/微博/weibo.py", line 132, in <module> weibo.main() File "E:/python/Crack-JS-Spider/微博/weibo.py", line 125, in main self.login() File "E:/python/Crack-JS-Spider/微博/weibo.py", line 111, in login ticket, ssosavestate = re.findall(r'ticket=(.*?)&ssosavestate=(.*?)"', result)[0] # 获取ticket和ssosavestate参数 IndexError: list index out of range

@wangjuham
Copy link

wangjuham commented Sep 10, 2020

我也是出现这个问题,估计是微博那边改了

Traceback (most recent call last):
File "D:/Users/Administrator/Documents/GitHub/Crack-JS-Spider/微博/weibo.py", line 124, in
weibo.main()
File "D:/Users/Administrator/Documents/GitHub/Crack-JS-Spider/微博/weibo.py", line 118, in main
self.login()
File "D:/Users/Administrator/Documents/GitHub/Crack-JS-Spider/微博/weibo.py", line 105, in login
ticket,ssosavestate = re.findall(r'ticket=(.?)&ssosavestate=(.?)"',result)[0] #获取ticket和ssosavestate参数
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants