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