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

KeyError: 'cardlistInfo' #2

Open
lisachensyd opened this issue Jul 30, 2019 · 2 comments
Open

KeyError: 'cardlistInfo' #2

lisachensyd opened this issue Jul 30, 2019 · 2 comments

Comments

@lisachensyd
Copy link

试图运行main.py的时候提示 KeyError: 'cardlistInfo'
python版本3.7
201907310440

@nlpsuge
Copy link
Contributor

nlpsuge commented Aug 10, 2019

@lisachensyd 我看了下正常情况下接口返回的数据中是有cardlistInfo属性的;是不是你备份的微博没任何内容?

@askerlee
Copy link

把这句改成
entries_nums = data['userInfo']['statuses_count']

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

3 participants