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

fix:微博根据creator爬取note时,爬取评论失败。原因是解析的参数key有误 #506

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

JianxunRao
Copy link
Contributor

应该解析的key是"mblog",而非"mlog"。
因为noteitem的数据结构如下:

{'card_type': 9, 'profile_type_id': 'proweibotop_', 'itemid': '1076031892723783_-_5099864811901316', 'scheme': 'https://m.weibo.cn/status/OFTWh7YCo?mblogid=OFTWh7YCo', **'mblog':** {'visible': {'type': 0, 'list_id': 0}, 'created_at': 'Tue Nov 12 12:33:05 +0800 2024', 'id': '5099864811901316', 'mid': '5099864811901316', 'edit_count': 1, 'can_edit': False, 'edit_at': 'Tue Nov 12 12:34:10 +0800 2024'} ...省略

@NanmiCoder
Copy link
Owner

Thanks Contribution

@NanmiCoder NanmiCoder merged commit 6001fc8 into NanmiCoder:main Nov 29, 2024
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

Successfully merging this pull request may close these issues.

2 participants