| 
					
				 | 
			
			
				@@ -41,7 +41,6 @@ class Dy_KS: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                       'Chrome/127.0.0.0 Safari/537.36', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     response = requests.request(url=url, method='GET', headers=headers, allow_redirects=False, timeout=30) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     location = response.headers.get('Location', None) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     video_id = re.search(r'/video/(\d+)/?', location.split('?')[0] if location else url).group(1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 url = "http://8.217.192.46:8889/crawler/dou_yin/detail" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -133,7 +132,6 @@ class Dy_KS: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 tag_transport_channel = "抖音" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 logger.info(f"[+] {url}开始获取抖音视频链接") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 url, original_title, video_id = cls.get_text_dy_video(url=url) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             elif host in ['v.kuaishou.com', 'www.kuaishou.com', 'v.m.chenzhongtech.com', 'creater.eozatvmq.com']: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 tag_transport_channel = "快手" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 logger.info(f"[+] {url}开始获取快手视频链接") 
			 |