zhangyong hace 1 año
padre
commit
58a39c3e50
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      video_stitching/video_stitching.py

+ 2 - 1
video_stitching/video_stitching.py

@@ -138,6 +138,7 @@ class VideoStitching():
     def insert_piaoquantv(cls, oss_object_key, title_list, video_type, channel_type):
         #list = ["66481136", "66481137", "66481140", "66481141", "66481142"] 老用户id
         if video_type == "自制--春节":
+            title = title_list
             list = ['15924999', '50322241', '50322258', '57463797', '50322235', '57463790', '50322234', '6605563', '18981907', '50322198', '50322239', '57463838', '14500202']
             code = 1
             for i in range(len(list)):
@@ -146,7 +147,7 @@ class VideoStitching():
                 # title = title[0].strip("[]'")
                 url = "https://vlogapi.piaoquantv.com/longvideoapi/crawler/video/send"
                 payload = dict(pageSource='vlog-pages/post/post-video-post', videoPath=oss_object_key, width='720',
-                               height='1280', fileExtensions='mp4', viewStatus='1', title=title_list, careModelStatus='1',
+                               height='1280', fileExtensions='mp4', viewStatus='1', title=title, careModelStatus='1',
                                token='f04f58d6e664cbc9902660a1e8d20ce6cd7fdb0f', loginUid=list[i], versionCode='719',
                                machineCode='weixin_openid_o0w175aZ4FJtqVsA1tcozJDJHdDU', appId='wx89e7eb06478361d7',
                                clientTimestamp='1703337579331',