| 
														
															@@ -45,6 +45,7 @@ class MatchArticlesTask(object): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             :return: 
														 | 
														
														 | 
														
															             :return: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             """ 
														 | 
														
														 | 
														
															             """ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             w_response = whisper(video_id) 
														 | 
														
														 | 
														
															             w_response = whisper(video_id) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            print(w_response) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             text = w_response['text'] 
														 | 
														
														 | 
														
															             text = w_response['text'] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             update_sql = f""" 
														 | 
														
														 | 
														
															             update_sql = f""" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             UPDATE {db_config} 
														 | 
														
														 | 
														
															             UPDATE {db_config} 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -56,7 +57,7 @@ class MatchArticlesTask(object): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             await mysql_client.async_insert(sql=update_sql) 
														 | 
														
														 | 
														
															             await mysql_client.async_insert(sql=update_sql) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         for vid in video_list: 
														 | 
														
														 | 
														
															         for vid in video_list: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            await whisper_and_update(video_id=vid, mysql_client=self.mysql_client) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            await whisper_and_update(video_id=vid[0], mysql_client=self.mysql_client) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     async def materials_task(self): 
														 | 
														
														 | 
														
															     async def materials_task(self): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         """ 
														 | 
														
														 | 
														
															         """ 
														 |