浏览代码

更新 share_url
更新 logo.png

罗俊辉 1 年之前
父节点
当前提交
a226c1ad6a
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      applications/functions/upload.py

+ 3 - 3
applications/functions/upload.py

@@ -43,9 +43,9 @@ async def upload_to_oss(video_id, video_url):
     :param video_url:
     :return:
     """
-    # print("start download video...")
-    # await download_video(video_url, "temp.mp4")
-    # print("video download successfully done")
+    print("start download video...")
+    await download_video(video_url, "temp.mp4")
+    print("video download successfully done")
     with open("temp.mp4", "rb") as file:
         file_content = file.read()
     print("读取完成")