tzhao0311
tzhao0311
WARN: 网络故障 INFO: 正在加载配置文件 ... WARN: 帐号信息无效 请输入登录账号: 重新登陆也不行,说是网络故障。
是的,我也遇到这个问题了,不知道怎么解决呢
同求
请问楼上怎么加header,能说具体些吗?
我目前在爬某个用户的follower的url,每当我爬到一定数量时,就会出现类似下面的错误提示,每次可能还不太一样,这次是爬到12万个时出现的错误提示,请问是什么原因。 Traceback (most recent call last): File "/Users/zhaotao/PycharmProjects/zhihu_test_1/user_profile_crawler.py", line 53, in for follower in author.followers: File "/System/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/zhihu_py3-0.3.0-py3.5.egg/zhihu/author.py", line 359, in followers File "/System/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/zhihu_py3-0.3.0-py3.5.egg/zhihu/author.py", line 405, in _follow_ee_ers File "/System/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/zhihu_py3-0.3.0-py3.5.egg/zhihu/common.py", line...
知乎现在是利用哪种反爬虫策略啊,限制IP、cookies、访问速度,还是其他策略。这是我在爬的用户的主页地址:http://www.zhihu.com/people/zhang-jia-wei
好的,多谢!
这次跑到3万多的时候出现了如下的错误,不知道是不是bug。 Traceback (most recent call last): File "/Users/zhaotao/PycharmProjects/zhihu_test_1/user_profile_crawler.py", line 54, in for follower in author.followers: File "/System/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/zhihu_py3-0.3.0-py3.5.egg/zhihu/author.py", line 359, in followers File "/System/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/zhihu_py3-0.3.0-py3.5.egg/zhihu/author.py", line 392, in _follow_ee_ers File "/System/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/requests-2.8.1-py3.5.egg/requests/models.py", line...
多谢,我试一下,有问题再请教你。
现在每次跑到300多或者400多就出现如下的错误提示,不会是因为我的账号已经被知乎限制了吧 Traceback (most recent call last): File "/Users/zhaotao/PycharmProjects/zhihu_test_1/user_profile_crawler.py", line 55, in for follower in author.followers: File "/System/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/zhihu_py3-0.3.0-py3.5.egg/zhihu/author.py", line 359, in followers File "/System/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/zhihu_py3-0.3.0-py3.5.egg/zhihu/author.py", line 391, in _follow_ee_ers File "/System/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/requests-2.8.1-py3.5.egg/requests/sessions.py", line...