Commit 8274866e authored by litaolemo's avatar litaolemo

update

parent 66228bc0
......@@ -143,6 +143,8 @@ for pid in pid_list:
video_dic["content"] = desc_fix
video_dic["user_id"] = random.choice(user_id_list_copy)
rpc_res = post_single_data(copy.deepcopy(video_dic), "cims/answer/batch_create")
if res_json["NoteView"].get("data"):
print(res_json["NoteView"].get("data"))
try:
for comment in res_json["NoteView"]["commentInfo"]["comments"]:
video_dic["content"] = comment['content']
......@@ -154,5 +156,5 @@ for pid in pid_list:
rpc_res = post_single_data(copy.deepcopy(video_dic), "cims/reply/batch_create")
except:
print("comment error")
print(res_json)
# print(res)
break
\ No newline at end of file
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