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

话题爬取 #20

Closed
mz2sj opened this issue Sep 10, 2020 · 2 comments
Closed

话题爬取 #20

mz2sj opened this issue Sep 10, 2020 · 2 comments

Comments

@mz2sj
Copy link

mz2sj commented Sep 10, 2020

作者您好,请问怎么爬取话题的内容,WeiboTopicScrapy.py里好像是对关键词的爬取,直接输入#话题名#爬出来的还是微博中带有相关关键字的,并不是话题对应的内容

@mz2sj
Copy link
Author

mz2sj commented Sep 10, 2020

在WeiboCommentScrapy.py运行时,自己遇到了Traceback (most recent call last): File "C:/Users/MZ/Desktop/工作/无 GUI 功能独立版/WeiboSuperCommentScrapy.py", line 227, in login sever_data = self.pre_login() File "C:/Users/MZ/Desktop/工作/无 GUI 功能独立版/WeiboSuperCommentScrapy.py", line 186, in pre_login servertime = sever_data["servertime"] KeyError: 'servertime'这个问题,好像是登录失败了,博主有遇到过嘛?

@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