Skip to content

IndexError: list index out of range #10

Description

@Guppy0608

运行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
新手求解答,谢谢各位大佬!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions