Commit b448620b authored by litaolemo's avatar litaolemo

update

parent fbb4bad4
......@@ -12,6 +12,12 @@ from crawler.crawler_sys.utils.rpc_data_to_answer import post_single_data,post_m
from crawler_sys.utils.output_results import retry_get_url
from crawler.gm_upload.gm_upload import upload, upload_file
gm_user_id_list = [
'5cca9b3700000000120314c9',
'5aa0f7bae8ac2b65bfcdaf0e',
'5c20dd200000000007027c07',
'5fe1c1ba0000000001006e65']
majiayonghu_list = [
36436814,
36436809,
......@@ -130,6 +136,10 @@ for pid in pid_list:
res_json["NoteView"]["content"]["desc_fix"] = desc_fix
# print(desc_fix)
res = rds.hset("xiaohongshu_with_img", key=pid, value=json.dumps(res_json))
if res_json["NoteView"]["userId"] in gm_user_id_list:
video_dic["level"] = 4
else:
video_dic["level"] = 2
video_dic["platform"] = "9"
video_dic["platform_id"] = pid
video_dic["platform_answer_id"] = pid
......
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