Commit 8a1044a4 authored by litaolemo's avatar litaolemo

update

parent a18cd678
......@@ -38,7 +38,7 @@ video_dic["platform"] = "9"
video_dic["platform_id"] = pid
video_dic["title"] = title
# video_dic["content"] = anwser
time_ts = datetime.datetime.strptime(page_data["NoteView"]["content"],'%Y-%m-%d %H:%M').timestamp()
time_ts = datetime.datetime.strptime(page_data["NoteView"]["content"]['time'],'%Y-%m-%d %H:%M').timestamp()
video_dic["user_id"] = random.choice(user_id_list)
video_dic["create_time"] = time_ts
rpc_res = post_data(video_dic, "cims/question/batch_create")
......
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