Python3Spiders / WeiboSuperSpider

微博爬虫及配套工具箱,微博用户、话题、评论采集一网打尽。图片下载、情感分析,地理位置、关系网络、spammer 机器人识别等功能应有尽有。Docs:https://buyixiao.github.io/blog/weibo-super-spider.html 配套可视化网站:https://buyixiao.github.io/blog/one-stop-weibo-visualization.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

wutongsuimeng opened this issue · comments

commented

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

账号开了双重验证吧

commented

账号开了双重验证吧

没有开双重验证。

是否是 ticket 错误?

commented

是否是 ticket 错误?

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

嗯嗯那就是这个原因了