Commit 82e3884a authored by litaolemo's avatar litaolemo

update

parent 6a8cdecd
......@@ -120,7 +120,10 @@ for line in f:
video_dic = {}
qiniu_img_list = []
print(res_json)
pid = res_json["NoteView"]["commentInfo"]["targetNoteId"]
try:
pid = res_json["NoteView"]["commentInfo"]["targetNoteId"]
except:
pid = res_json["NoteView"]["content"]["id"]
# for img_url in res_json["NoteView"]["content"]["imageList"]:
# try:
# img_wb = retry_get_url("http:" + img_url["url"].replace(img_url['fileId'],img_url['traceId'])).content
......
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