Skip to content

Windows 下报错,请作者协助检查原因,谢谢!作者辛苦! #2

@H273

Description

@H273

报错信息:
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions