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

登陆时输入验证码,报错。 #13

Closed
wutongsuimeng opened this issue Apr 11, 2020 · 5 comments
Closed

登陆时输入验证码,报错。 #13

wutongsuimeng opened this issue Apr 11, 2020 · 5 comments

Comments

@wutongsuimeng
Copy link

res = requests.get(url=next_url.format(id, id, max_id,id_type), headers=headers,cookies=cookie_dict)
UnboundLocalError: local variable 'max_id' referenced before assignment

@inspurer
Copy link
Member

账号开了双重验证吧

@wutongsuimeng
Copy link
Author

账号开了双重验证吧

没有开双重验证。

@inspurer
Copy link
Member

是否是 ticket 错误?

@wutongsuimeng
Copy link
Author

是否是 ticket 错误?

也不是。我想可能是因为我爬的那个文章是粉丝可见的吧。因为我试了一下爬别的文章,就顺利爬到评论了。

@inspurer
Copy link
Member

嗯嗯那就是这个原因了

@inspurer inspurer closed this as completed Nov 3, 2020
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