Skip to content

IndexError: list index out of range #10

@Guppy0608

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

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