zhangyong 1 年之前
父节点
当前提交
5466d8f6fa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -84,6 +84,6 @@ channel_type = "koubo"
 auth = oss2.Auth(OSS_ACCESS_KEY_ID, OSS_ACCESS_KEY_SECRET)
 bucket = oss2.Bucket(auth, OSS_BUCKET_ENDPOINT, OSS_BUCKET_NAME)
 if video_type == "口播--美文类":
-    bucket.get_object("koubo/fo1", f'/root/video_editor/video_stitching/video_material/koubo.mp4')
+    bucket.get_object_to_file("koubo/fo1", f'./video_stitching/video_material/koubo.mp4')
     print("完成")
 # VideoStitching.video_stitching(video_type, koubo_count, channel_type)