Commit 747ccc99 authored by 段英荣's avatar 段英荣

增加异常打印

parent cfa274ea
......@@ -270,6 +270,8 @@ class ZhihuAccount(object):
cur_image_index += 1
local_img_url_path = "./image/img_" + str(cur_image_index) + ".png"
print(ori_img_url,local_img_url_path)
urlretrieve(ori_img_url, local_img_url_path)
local_cv2_img = cv2.imread(local_img_url_path)
height, weidth, channel = local_cv2_img.shape
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment