| 
														
															@@ -1,7 +1,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 """ 
														 | 
														
														 | 
														
															 """ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 @author: luojunhui 
														 | 
														
														 | 
														
															 @author: luojunhui 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 """ 
														 | 
														
														 | 
														
															 """ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-from applications.functions import chunks, get_info_lists 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+from applications.functions import chunks, get_info_lists, title_filter 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 from applications.config import minigram_info 
														 | 
														
														 | 
														
															 from applications.config import minigram_info 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -81,7 +81,13 @@ class VideoDeal(object): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         limit {self.topN}; 
														 | 
														
														 | 
														
															         limit {self.topN}; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         """ 
														 | 
														
														 | 
														
															         """ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         result_list = await self.mysql_client.select(sql) 
														 | 
														
														 | 
														
															         result_list = await self.mysql_client.select(sql) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        return self.response_obj(result_list) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        title_list = [i[1] for i in result_list] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        socre_list = title_filter(title_list) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        result_list_final = [] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        for index, item in enumerate(result_list): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if socre_list[index] > 0.4: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                result_list_final.append(item) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        return self.response_obj(result_list_final) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     async def deal_view(self): 
														 | 
														
														 | 
														
															     async def deal_view(self): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         """ 
														 | 
														
														 | 
														
															         """ 
														 |