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

IndexError: list index out of range #10

Open
Guppy0608 opened this issue Dec 5, 2017 · 5 comments
Open

IndexError: list index out of range #10

Guppy0608 opened this issue Dec 5, 2017 · 5 comments

Comments

@Guppy0608
Copy link

Guppy0608 commented Dec 5, 2017

运行index.py时:
Traceback (most recent call last):
File "....\index.py", line 5, in
zh=ZhiHu()
File "...\python_zhihu.py", line 33, in init
self.do_first()
File "...\python_zhihu.py", line 260, in do_first
self.login()
File "...\python_zhihu.py", line 64, in login
self.xsrf=re.findall('name="_xsrf" value="([\S\s]*?)"',r.text)[0]
IndexError: list index out of range
新手求解答,谢谢各位大佬!

@Usstzst
Copy link

Usstzst commented May 29, 2018

我也报同样的错误,新手求解答,谢谢各位大佬!

@ruibukedang0701
Copy link

me too!

@ZhengDanYang1
Copy link

求解。。

@linyunhe
Copy link

同!我运行
zh=ZhiHu() 也报同样的错误。

@linyunhe
Copy link

我知道原因了,知乎现在登陆界面改成了默认【免密码登陆】,所以登陆那里之前的接口不能用了。

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

5 participants