Browse Source

更新 share_url
更新 logo.png

罗俊辉 1 year ago
parent
commit
a226c1ad6a
1 changed files with 3 additions and 3 deletions
  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("读取完成")