报错信息:
user_id和cookie读入成功
ready
2
正在进行第 1 次停顿,防止访问次数过多
正在进行第 2 次停顿,防止访问次数过多
正在进行第 3 次停顿,防止访问次数过多
正在进行第 4 次停顿,防止访问次数过多
1 word ok
1 picurl ok
1 sleep
2 word ok
2 picurl ok
2 sleep
正在进行第 5 次停顿,防止访问次数过多
文字微博爬取完毕
图片链接爬取完毕
该用户原创微博中不存在图片
原创微博爬取完毕,共11条,保存路径D:\TEMP\weibo/5269080015
Traceback (most recent call last):
File "weibo.py", line 128, in
print u'寰崥鍥剧墖鐖彇瀹屾瘯锛屽叡%d寮狅紝淇濆瓨璺緞%s'%(image_count -
1,image_path)
NameError: name 'image_path' is not defined
环境:
Windows 7 64bit 企业版
Python 2.7.13
报错信息:
user_id和cookie读入成功
ready
2
正在进行第 1 次停顿,防止访问次数过多
正在进行第 2 次停顿,防止访问次数过多
正在进行第 3 次停顿,防止访问次数过多
正在进行第 4 次停顿,防止访问次数过多
1 word ok
1 picurl ok
1 sleep
2 word ok
2 picurl ok
2 sleep
正在进行第 5 次停顿,防止访问次数过多
文字微博爬取完毕
图片链接爬取完毕
该用户原创微博中不存在图片
原创微博爬取完毕,共11条,保存路径D:\TEMP\weibo/5269080015
Traceback (most recent call last):
File "weibo.py", line 128, in
print u'寰崥鍥剧墖鐖彇瀹屾瘯锛屽叡%d寮狅紝淇濆瓨璺緞%s'%(image_count -
1,image_path)
NameError: name 'image_path' is not defined
环境:
Windows 7 64bit 企业版
Python 2.7.13