| 
														
															@@ -9,14 +9,14 @@ import requests 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 cate: video_return, video_view, video_rov 
														 | 
														
														 | 
														
															 cate: video_return, video_view, video_rov 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 """ 
														 | 
														
														 | 
														
															 """ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-# url = "http://47.99.132.47:8888/videos" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-url = "http://localhost:8888/videos" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+url = "http://47.99.132.47:8888/videos" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+# url = "http://localhost:8888/videos" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 body = { 
														 | 
														
														 | 
														
															 body = { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     "cate": "video_return", 
														 | 
														
														 | 
														
															     "cate": "video_return", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    "start_date": "2024-06-01", 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    "start_date": "2024-01-01", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     "end_date": "2024-07-06", 
														 | 
														
														 | 
														
															     "end_date": "2024-07-06", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    "topN": 800 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    "topN": 200 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 a = time.time() 
														 | 
														
														 | 
														
															 a = time.time() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 header = { 
														 | 
														
														 | 
														
															 header = { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -28,6 +28,7 @@ b = time.time() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 print(b - a) 
														 | 
														
														 | 
														
															 print(b - a) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 print(len(response.json()['data'])) 
														 | 
														
														 | 
														
															 print(len(response.json()['data'])) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 for i in response.json()['data']: 
														 | 
														
														 | 
														
															 for i in response.json()['data']: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    print(i['title']) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    print(i['video_url']) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    print("\n") 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    print(i) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    # print(i['title']) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    # print(i['video_url']) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    # print("\n") 
														 |