| 
														
															@@ -43,9 +43,9 @@ async def upload_to_oss(video_id, video_url): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     :param video_url: 
														 | 
														
														 | 
														
															     :param video_url: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     :return: 
														 | 
														
														 | 
														
															     :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: 
														 | 
														
														 | 
														
															     with open("temp.mp4", "rb") as file: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         file_content = file.read() 
														 | 
														
														 | 
														
															         file_content = file.read() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     print("读取完成") 
														 | 
														
														 | 
														
															     print("读取完成") 
														 |