Prechádzať zdrojové kódy

2024-06-17
标题该用原标题 && 修改小程序为 刷刷有趣生活

罗俊辉 10 mesiacov pred
rodič
commit
cb435c8eed

+ 1 - 1
applications/functions/video_item.py

@@ -188,7 +188,7 @@ class VideoProducer(object):
         item.add_video_info("user_id", user["uid"])
         item.add_video_info("user_name", user["nick_name"])
         item.add_video_info("video_id", video_obj['video_id'])
-        item.add_video_info("video_title", video_obj.get('video_title', trace_id))
+        item.add_video_info("video_title", video_obj.get('video_title'))
         item.add_video_info("publish_time_stamp", int(publish_time_stamp))
         item.add_video_info("video_url", video_obj["video_url"])
         item.add_video_info("cover_url", video_obj["cover_url"])

+ 6 - 6
applications/schedule/process_schedule.py

@@ -21,9 +21,9 @@ async def return_info_v2(video_id, trace_id, mysql_client):
     productionName = response['data'][0]['title']
     videoUrl = response['data'][0]['videoPath']
     user_id = response['data'][0]['user']['uid']
-    programAvatar = "https://rescdn.yishihui.com/0temp/lehuo.png"
-    programId = "wxe8f8f0e23cecad0f"
-    programName = "票圈乐活"
+    programAvatar = "https://rescdn.yishihui.com/0temp/ssyqsh.png"
+    programId = "wx59d9e2c05f00f880"
+    programName = "刷刷有趣生活"
     source = "PQ"
     root_share_id, source_id, productionPath = create_gzh_path(video_id=video_id, shared_uid=user_id)
     logging(
@@ -82,9 +82,9 @@ async def return_info(video_id, kimi_title, trace_id, mysql_client, index):
     productionName = kimi_title
     videoUrl = response['data'][0]['videoPath']
     user_id = response['data'][0]['user']['uid']
-    programAvatar = "https://rescdn.yishihui.com/0temp/lehuo.png"
-    programId = "wxe8f8f0e23cecad0f"
-    programName = "票圈乐活"
+    programAvatar = "https://rescdn.yishihui.com/0temp/ssyqsh.png"
+    programId = "wx59d9e2c05f00f880"
+    programName = "刷刷有趣生活"
     source = "Web"
     root_share_id, source_id, productionPath = create_gzh_path(video_id=video_id, shared_uid=user_id)
     logging(