| 
														
															@@ -44,8 +44,8 @@ class GetUrl: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         print('退出') 
														 | 
														
														 | 
														
															         print('退出') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         driver.quit() 
														 | 
														
														 | 
														
															         driver.quit() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        windows = driver.window_handles 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        driver.switch_to.window(windows[0]) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        # windows = driver.window_handles 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        # driver.switch_to.window(windows[0]) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @classmethod 
														 | 
														
														 | 
														
															     @classmethod 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     def get_url(cls, log_type): 
														 | 
														
														 | 
														
															     def get_url(cls, log_type): 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -88,6 +88,10 @@ class GetUrl: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     cover_url = cover_url_list[0]['host']+cover_url_list[0]['path']+'?'+cover_url_list[0]['query'] 
														 | 
														
														 | 
														
															                     cover_url = cover_url_list[0]['host']+cover_url_list[0]['path']+'?'+cover_url_list[0]['query'] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     head_url = cover_url 
														 | 
														
														 | 
														
															                     head_url = cover_url 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    print(f'video_url:{video_url}') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    print(f'cover_url:{cover_url}') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    print(f'head_url:{head_url}') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     return video_url, cover_url, head_url 
														 | 
														
														 | 
														
															                     return video_url, cover_url, head_url 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 else: 
														 | 
														
														 | 
														
															                 else: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     Common.logger(log_type).info("未找到 url,10s后重新获取") 
														 | 
														
														 | 
														
															                     Common.logger(log_type).info("未找到 url,10s后重新获取") 
														 |