| 
														
															@@ -220,7 +220,7 @@ class AsyncETL(object): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             local_video_path=file_path, 
														 | 
														
														 | 
														
															             local_video_path=file_path, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         ) 
														 | 
														
														 | 
														
															         ) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         # 读取cover, 若img是html格式,则不上传 
														 | 
														
														 | 
														
															         # 读取cover, 若img是html格式,则不上传 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        with open(cover_path, "wb") as f: 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        with open(cover_path, "rb") as f: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             img_data = f.read() 
														 | 
														
														 | 
														
															             img_data = f.read() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if b"<html>" in img_data: 
														 | 
														
														 | 
														
															         if b"<html>" in img_data: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             oss_cover = None 
														 | 
														
														 | 
														
															             oss_cover = None 
														 |